From 64c5722e051768188754bd4c25a440ecd9103b38 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 4 May 2015 21:48:51 +0200 Subject: [PATCH] MINOR: config: report the number of processes using a peers section in the error case It can be helpful to know how many different processes try to use the same peers section when trying to find the culprits. --- src/cfgparse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cfgparse.c b/src/cfgparse.c index 45c9d6d31..13107e837 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -7924,9 +7924,9 @@ out_uri_auth_compat: /* either it's totally stopped or too much used */ if (curpeers->peers_fe->bind_proc) { Alert("Peers section '%s': peers referenced by sections " - "running in different processes. Check global.nbproc" - " and all tables' bind-process settings.\n", - curpeers->id); + "running in different processes (%d different ones). " + "Check global.nbproc and all tables' bind-process " + "settings.\n", curpeers->id, popcount(curpeers->peers_fe->bind_proc)); cfgerr++; } stop_proxy(curpeers->peers_fe);