Why do frontend/backend start and stop on their own?


#1

Hi,
I see logs similar to below in my HAProxy instance. It seems that frontend and backend stops and starts periodically. My question is why does this mean from traffic served from HAProxy. Is there anything I can do to stop this start and stop operations by frontends / backends?

local0.notice: Sep 19 16:26:50 haproxy[75]: Proxy http-7474 started.
local0.notice: Sep 19 16:26:50 haproxy[75]: Proxy http-7474 started.
local0.notice: Sep 19 16:26:50 haproxy[75]: Proxy neo4jhttp.default:7474-77ch2t started.
local0.notice: Sep 19 16:26:50 haproxy[75]: Proxy neo4jhttp.default:7474-77ch2t started.
local0.notice: Sep 19 16:26:50 haproxy[75]: Proxy http-7687 started.
local0.notice: Sep 19 16:26:50 haproxy[75]: Proxy http-7687 started.
local0.notice: Sep 19 16:26:50 haproxy[75]: Proxy neo4jbolt.default:7687-cw76ff started.
local0.notice: Sep 19 16:26:50 haproxy[75]: Proxy neo4jbolt.default:7687-cw76ff started.
local0.warn: Sep 19 16:26:50 haproxy[51]: Stopping frontend http-7474 in 0 ms.
local0.warn: Sep 19 16:26:50 haproxy[51]: Stopping frontend http-7474 in 0 ms.
local0.warn: Sep 19 16:26:50 haproxy[51]: Stopping backend neo4jhttp.default:7474-77ch2t in 0 ms.
local0.warn: Sep 19 16:26:50 haproxy[51]: Stopping backend neo4jhttp.default:7474-77ch2t in 0 ms.
local0.warn: Sep 19 16:26:50 haproxy[51]: Stopping frontend http-7687 in 0 ms.
local0.warn: Sep 19 16:26:50 haproxy[51]: Stopping frontend http-7687 in 0 ms.
local0.warn: Sep 19 16:26:50 haproxy[51]: Stopping backend neo4jbolt.default:7687-cw76ff in 0 ms.
local0.warn: Sep 19 16:26:50 haproxy[51]: Stopping backend neo4jbolt.default:7687-cw76ff in 0 ms.
local0.warn: Sep 19 16:26:50 haproxy[51]: Proxy http-7474 stopped (FE: 0 conns, BE: 0 conns).
local0.warn: Sep 19 16:26:50 haproxy[51]: Proxy http-7474 stopped (FE: 0 conns, BE: 0 conns).
local0.warn: Sep 19 16:26:50 haproxy[51]: Proxy neo4jhttp.default:7474-77ch2t stopped (FE: 0 conns, BE: 0 conns).
local0.warn: Sep 19 16:26:50 haproxy[51]: Proxy neo4jhttp.default:7474-77ch2t stopped (FE: 0 conns, BE: 0 conns).
local0.warn: Sep 19 16:26:50 haproxy[51]: Proxy http-7687 stopped (FE: 0 conns, BE: 0 conns).
local0.warn: Sep 19 16:26:50 haproxy[51]: Proxy http-7687 stopped (FE: 0 conns, BE: 0 conns).
local0.warn: Sep 19 16:26:50 haproxy[51]: Proxy neo4jbolt.default:7687-cw76ff stopped (FE: 0 conns, BE: 0 conns).
local0.warn: Sep 19 16:26:50 haproxy[51]: Proxy neo4jbolt.default:7687-cw76ff stopped (FE: 0 conns, BE: 0 conns).

#2

Something is either continually reloading/restarting haproxy or setting the status via webinterface or stats sockets.

Check your systemd logs, cronjobs, and properly secure the admin sockets of haproxy.


#3

Thank you a lot! I think this points me where to look.