Mercurial > dovecot > original-hg > dovecot-1.2
diff dovecot-example.conf @ 614:e60620644af3 HEAD
login_process_per_connection = yes scales now better when multiple users are
trying to log in at the same time.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 16 Nov 2002 07:57:20 +0200 |
parents | 1906116a62ce |
children | 0d852af6842e |
line wrap: on
line diff
--- a/dovecot-example.conf Sat Nov 16 07:21:21 2002 +0200 +++ b/dovecot-example.conf Sat Nov 16 07:57:20 2002 +0200 @@ -67,6 +67,14 @@ # yes, this is the number of extra processes waiting for users to log in. #login_processes_count = 3 +# Maximum number of extra login processes to create. The extra process count +# usually stays at login_processes_count, but when multiple users start logging +# in at the same time more extra processes are created. To prevent fork-bombing +# we check only once in a second if new processes should be created - if all +# of them are used at the time, we double their amount until limit set by this +# setting is reached. This setting is used only if login_process_per_use is yes. +#login_max_processes_count = 128 + # Maximum number of connections allowed in login state. When this limit is # reached, the oldest connections are dropped. If login_process_per_user # is no, this is a per-process value, so the absolute maximum number of users