From: Timo Sirainen Date: Mon, 9 May 2011 15:43:35 +0000 (+0300) Subject: master: Warn if service's vsz_limit < 1 MB X-Git-Tag: 2.0.13~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a6c6403d1d491fa38fdf3ccf2be51d8c1954ac3;p=thirdparty%2Fdovecot%2Fcore.git 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. --- diff --git a/src/master/master-settings.c b/src/master/master-settings.c index 245b9037b8..bd69d724ae 100644 --- a/src/master/master-settings.c +++ b/src/master/master-settings.c @@ -507,7 +507,7 @@ master_settings_verify(void *_set, pool_t pool, const char **error_r) 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;