dovecot-2.1: master: "Out of memory" message shows now the servi...

dovecot at dovecot.org dovecot at dovecot.org
Mon Jan 9 23:57:37 EET 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/16d32dda723c
changeset: 13917:16d32dda723c
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jan 09 23:57:25 2012 +0200
description:
master: "Out of memory" message shows now the service {} block around vsz_limit.

diffstat:

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

diffs (14 lines):

diff -r b860d38f6b9e -r 16d32dda723c src/master/service-process.c
--- a/src/master/service-process.c	Mon Jan 09 21:10:35 2012 +0200
+++ b/src/master/service-process.c	Mon Jan 09 23:57:25 2012 +0200
@@ -389,8 +389,9 @@
 	case FATAL_OUTOFMEM:
 		if (service->vsz_limit == 0)
 			return "Out of memory";
-		return t_strdup_printf("Out of memory (vsz_limit=%u MB, "
+		return t_strdup_printf("Out of memory (service %s { vsz_limit=%u MB }, "
 				"you may need to increase it)",
+				service->set->name,
 				(unsigned int)(service->vsz_limit/1024/1024));
 	case FATAL_EXEC:
 		return "exec() failed";


More information about the dovecot-cvs mailing list