dovecot-2.0: master: Improved "out of memory" error message.

dovecot at dovecot.org dovecot at dovecot.org
Thu May 14 21:22:40 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/e7a3c0e6ba0f
changeset: 9278:e7a3c0e6ba0f
user:      Timo Sirainen <tss at iki.fi>
date:      Thu May 14 14:22:35 2009 -0400
description:
master: Improved "out of memory" error message.

diffstat:

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

diffs (13 lines):

diff -r 3dae622212f4 -r e7a3c0e6ba0f src/master/service-process.c
--- a/src/master/service-process.c	Thu May 14 14:18:29 2009 -0400
+++ b/src/master/service-process.c	Thu May 14 14:22:35 2009 -0400
@@ -524,7 +524,8 @@ get_exit_status_message(struct service *
 	case FATAL_OUTOFMEM:
 		if (service->set->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 (vsz_limit=%u MB, "
+				       "you may need to increase it)",
 				       service->set->vsz_limit);
 	case FATAL_EXEC:
 		return "exec() failed";


More information about the dovecot-cvs mailing list