mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-16 16:34:42 +00:00
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.
This commit is contained in:
parent
0334ffc65d
commit
64c5722e05
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user