]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
master: Improved "out of memory" error message.
authorTimo Sirainen <tss@iki.fi>
Thu, 14 May 2009 18:22:35 +0000 (14:22 -0400)
committerTimo Sirainen <tss@iki.fi>
Thu, 14 May 2009 18:22:35 +0000 (14:22 -0400)
--HG--
branch : HEAD

src/master/service-process.c

index ce698594679da008a45e9cf31b7b99be5b1f72fe..1de6ef7d75f16850abfd8f4e1ffafd90a56b4959 100644 (file)
@@ -524,7 +524,8 @@ get_exit_status_message(struct service *service, enum fatal_exit_status status)
        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";