Mercurial > dovecot > original-hg > dovecot-1.2
changeset 4561:c8177c854d65 HEAD
Updated login_max_connections comment.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 11 Aug 2006 00:21:32 +0300 |
parents | 507088c0d511 |
children | 8b9933470cf8 |
files | dovecot-example.conf |
diffstat | 1 files changed, 2 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/dovecot-example.conf Fri Aug 11 00:14:57 2006 +0300 +++ b/dovecot-example.conf Fri Aug 11 00:21:32 2006 +0300 @@ -156,20 +156,8 @@ # Maximum number of connections allowed per each login process. This setting # is used only if login_process_per_connection=no. Once the limit is reached, # the process notifies master so that it can create a new login process. -# When counting the number of connections and used file descriptors, you -# can use this table: -# Type Logged in SSL/TLS fds used connections used -# Client - - 1 1 -# Client x - 0 0 -# Client - x 3 2 -# Client x x 2 1 -# Proxy - - 2 2 -# Proxy x - 2 1 -# Proxy - x 4 3 -# Proxy x x 3 2 -# So in worst case scenario when you have n clients logging in, after STARTTLS -# they can use 3*n fds and cause the connection count to go 2 times higher -# than this limit. With proxying it can use 4*n fds and go 3 times higher. +# You should make sure that the process has at least +# 16 + login_max_connections * 2 available file descriptors. #login_max_connections = 256 # Greeting message for clients.