dovecot-2.0: master: If service with process_limit=1 reaches cli...

dovecot at dovecot.org dovecot at dovecot.org
Tue Sep 14 19:55:36 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/fac83abe8aaf
changeset: 12119:fac83abe8aaf
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Sep 14 17:55:25 2010 +0100
description:
master: If service with process_limit=1 reaches client_limit, log it better.

diffstat:

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

diffs (15 lines):

diff -r 5626fee3b7b9 -r fac83abe8aaf src/master/service-monitor.c
--- a/src/master/service-monitor.c	Tue Sep 14 17:39:40 2010 +0100
+++ b/src/master/service-monitor.c	Tue Sep 14 17:55:25 2010 +0100
@@ -200,8 +200,10 @@
 	if (service->last_drop_warning +
 	    SERVICE_DROP_WARN_INTERVAL_SECS < ioloop_time) {
 		service->last_drop_warning = ioloop_time;
-		i_warning("service(%s): process_limit reached, "
+		i_warning("service(%s): %s reached, "
 			  "client connections are being dropped",
+			  service->process_limit > 1 ?
+			  "process_limit" : "client_limit",
 			  service->set->name);
 	}
 	service->listen_pending = TRUE;


More information about the dovecot-cvs mailing list