I'm working on a data processing routine in Celery with a Redis backend and broker. Many workers (~200) interact with a broker to get tasks and execute those tasks. However, my workers are all sending heartbeat signals to one another, which populates their logs with all sorts of cruft like this:
[2018-05-13 15:38:00,737: INFO/MainProcess] missed heartbeat from [email protected]
[2018-05-13 15:38:00,737: INFO/MainProcess] missed heartbeat from [email protected]
[2018-05-13 15:38:00,737: INFO/MainProcess] missed heartbeat from [email protected]
[2018-05-13 15:38:00,738: INFO/MainProcess] missed heartbeat from [email protected]
[2018-05-13 15:38:00,738: INFO/MainProcess] missed heartbeat from [email protected]
[2018-05-13 15:38:00,739: INFO/MainProcess] missed heartbeat from [email protected]
The workers should never interface with each other directly, they should all get the information they need from the broker. Is it possible to disable heartbeats between worker nodes? If so, is this a bad idea for some reason I'm not yet seeing?
MainProcess
missed a heartbeat from some worker? Not another worker, but a Main. – Lasley