dovecot-2.1: master: vsz_limit enforcement was done for 1024 tim...

dovecot at dovecot.org dovecot at dovecot.org
Wed Nov 9 17:57:13 EET 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/94c95853f25c
changeset: 13686:94c95853f25c
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Nov 09 18:07:28 2011 +0200
description:
master: vsz_limit enforcement was done for 1024 times too much memory.

diffstat:

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

diffs (12 lines):

diff -r 011f10758702 -r 94c95853f25c src/master/service-process.c
--- a/src/master/service-process.c	Wed Nov 09 18:05:25 2011 +0200
+++ b/src/master/service-process.c	Wed Nov 09 18:07:28 2011 +0200
@@ -157,7 +157,7 @@
 	unsigned int len;
 
 	if (service->vsz_limit != 0)
-		restrict_process_size(service->vsz_limit/1024, -1U);
+		restrict_process_size(service->vsz_limit/1024/1024, -1U);
 
 	restrict_access_init(&rset);
 	rset.uid = service->uid;


More information about the dovecot-cvs mailing list