Mercurial > dovecot > original-hg > dovecot-1.2
diff dovecot-example.conf @ 722:0438621d25ff HEAD
Added virtual memory size limits to processes. Default values are pretty
high, this is mostly because I want it to prevent accidental infinite loops
eating memory or some integer overflows, not to actually restrict anything.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 01 Dec 2002 15:48:50 +0200 |
parents | 36ac2fd352ff |
children | f126b666859e |
line wrap: on
line diff
--- a/dovecot-example.conf Sun Dec 01 15:10:15 2002 +0200 +++ b/dovecot-example.conf Sun Dec 01 15:48:50 2002 +0200 @@ -61,6 +61,10 @@ # User to use for imap-login process #login_user = imapd +# Set max. process size in megabytes. If you don't use +# login_process_per_connection you might need to grow this. +#login_process_size = 16 + # Directory where imap-auth places authentication UNIX sockets which login # needs to be able to connect to. The sockets are created when running as # root, so you don't need to give imap-auth any access for it. @@ -101,6 +105,10 @@ # Executable location #imap_executable = /usr/libexec/dovecot/imap +# Set max. process size in megabytes. Most of the memory goes to mmap()ing +# files, so it shouldn't harm much even if this limit is set pretty high. +#imap_process_size = 256 + # Maximum number of running imap processes. When this limit is reached, # new users aren't allowed to log in. #max_imap_processes = 1024 @@ -256,6 +264,9 @@ # Executable location #auth_executable = /usr/libexec/dovecot/imap-auth +# Set max. process size in megabytes. +#auth_process_size = 256 + # User to use for the process. Only shadow and pam authentication requires # roots, so use something else if possible. auth_user = root