dovecot-2.0: master: Warn if service's vsz_limit < 1 MB

dovecot at dovecot.org dovecot at dovecot.org
Mon May 9 18:43:44 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/c3f4201f9818
changeset: 12778:c3f4201f9818
user:      Timo Sirainen <tss at iki.fi>
date:      Mon May 09 18:43:35 2011 +0300
description:
master: Warn if service's vsz_limit < 1 MB
It's unlikely anyone wants it to be smaller, and small values give random
errors/crashes.

diffstat:

 src/master/master-settings.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 6790433a1e77 -r c3f4201f9818 src/master/master-settings.c
--- a/src/master/master-settings.c	Mon May 09 18:23:23 2011 +0300
+++ b/src/master/master-settings.c	Mon May 09 18:43:35 2011 +0300
@@ -507,7 +507,7 @@
 				service->name);
 			return FALSE;
 		}
-		if (service->vsz_limit < 1024 && service->vsz_limit != 0) {
+		if (service->vsz_limit < 1024*1024 && service->vsz_limit != 0) {
 			*error_r = t_strdup_printf("service(%s): "
 				"vsz_limit is too low", service->name);
 			return FALSE;


More information about the dovecot-cvs mailing list