dovecot-2.0-sslstream: imap, pop3: Set default process limit to ...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:57:07 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/eb5795c49550
changeset: 10497:eb5795c49550
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Dec 15 20:19:53 2009 -0500
description:
imap, pop3: Set default process limit to 1024, like it was in v1.x.

diffstat:

3 files changed, 13 insertions(+), 2 deletions(-)
doc/example-config/conf.d/master.conf |   11 +++++++++++
src/imap/imap-settings.c              |    2 +-
src/pop3/pop3-settings.c              |    2 +-

diffs (52 lines):

diff -r 72a0ec4b7e26 -r eb5795c49550 doc/example-config/conf.d/master.conf
--- a/doc/example-config/conf.d/master.conf	Tue Dec 15 20:10:40 2009 -0500
+++ b/doc/example-config/conf.d/master.conf	Tue Dec 15 20:19:53 2009 -0500
@@ -15,6 +15,9 @@ service imap-login {
   # the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0
   # is faster. <doc/wiki/LoginProcess.txt>
   #service_count = 1
+
+  # Number of processes to always keep waiting for more connections.
+  #process_min_avail = 0
 
   # If you set service_count=0, you probably need to grow this.
   #vsz_limit = 64M
@@ -40,6 +43,14 @@ service imap {
   # Most of the memory goes to mmap()ing files. You may need to increase this
   # limit if you have huge mailboxes.
   #vsz_limit = 256M
+
+  # Max. number of IMAP processes (connections)
+  #process_count = 1024
+}
+
+service pop3 {
+  # Max. number of IMAP processes (connections)
+  #process_count = 1024
 }
 
 service auth {
diff -r 72a0ec4b7e26 -r eb5795c49550 src/imap/imap-settings.c
--- a/src/imap/imap-settings.c	Tue Dec 15 20:10:40 2009 -0500
+++ b/src/imap/imap-settings.c	Tue Dec 15 20:19:53 2009 -0500
@@ -40,7 +40,7 @@ struct service_settings imap_service_set
 	.drop_priv_before_exec = FALSE,
 
 	.process_min_avail = 0,
-	.process_limit = 0,
+	.process_limit = 1024,
 	.client_limit = 0,
 	.service_count = 1,
 	.vsz_limit = -1U,
diff -r 72a0ec4b7e26 -r eb5795c49550 src/pop3/pop3-settings.c
--- a/src/pop3/pop3-settings.c	Tue Dec 15 20:10:40 2009 -0500
+++ b/src/pop3/pop3-settings.c	Tue Dec 15 20:19:53 2009 -0500
@@ -40,7 +40,7 @@ struct service_settings pop3_service_set
 	.drop_priv_before_exec = FALSE,
 
 	.process_min_avail = 0,
-	.process_limit = 0,
+	.process_limit = 1024,
 	.client_limit = 0,
 	.service_count = 1,
 	.vsz_limit = -1U,


More information about the dovecot-cvs mailing list