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

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


details:   http://hg.dovecot.org/dovecot-2.0/rev/656386359374
changeset: 13015:656386359374
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 bed15faedfd4 -r 656386359374 src/master/service-process.c
--- a/src/master/service-process.c	Mon Jan 09 20:53:51 2012 +0200
+++ b/src/master/service-process.c	Mon Jan 09 23:57:25 2012 +0200
@@ -365,8 +365,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