dovecot-2.2: example-config: Added imap_hibernate_timeout

dovecot at dovecot.org dovecot at dovecot.org
Wed Sep 23 13:11:26 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/fd83572bb229
changeset: 19192:fd83572bb229
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Sep 23 16:08:33 2015 +0300
description:
example-config: Added imap_hibernate_timeout

diffstat:

 doc/example-config/conf.d/20-imap.conf |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r 9e120590e0ef -r fd83572bb229 doc/example-config/conf.d/20-imap.conf
--- a/doc/example-config/conf.d/20-imap.conf	Wed Sep 23 14:52:45 2015 +0300
+++ b/doc/example-config/conf.d/20-imap.conf	Wed Sep 23 16:08:33 2015 +0300
@@ -2,6 +2,12 @@
 ## IMAP specific settings
 ##
 
+# If nothing happens for this long while client is IDLEing, move the connection
+# to imap-hibernate process and close the old imap process. This saves memory,
+# because connections use very little memory in imap-hibernate process. The
+# downside is that recreating the imap process back uses some resources.
+#imap_hibernate_timeout = 0
+
 # Maximum IMAP command line length. Some clients generate very long command
 # lines with huge mailboxes, so you may need to raise this if you get
 # "Too long argument" or "IMAP command line too large" errors often.


More information about the dovecot-cvs mailing list