Mercurial > dovecot > core-2.2
changeset 13000:c3f4201f9818
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.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 09 May 2011 18:43:35 +0300 |
parents | 6790433a1e77 |
children | 3ada82147977 |
files | src/master/master-settings.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;