Sneakers don't consume from Rabbitmq after hours inactivity
luismiv85 opened this issue · 2 comments
We are getting a strange behavior. When start sneakers workers they can be able to connect and read from rabbitmq. All is fine and the can process messages from rabbitmq.
At night, there is no work to do and here is the strange, at morning when we push messages into rabbitmq, sneakers workers don't read the new messages and they get making heartbeat all the time.
2020-05-06T07:49:46Z p-6247 t-ovnkbribk DEBUG: Sending a heartbeat, last activity time: 2020-05-05 13:35:06 +0200, interval (s): 14
2020-05-06T07:49:46Z p-6503 t-gn0athkpk DEBUG: Sending a heartbeat, last activity time: 2020-05-05 14:06:49 +0200, interval (s): 14
2020-05-06T07:49:46Z p-6054 t-goioffkqc DEBUG: Heartbeat: running threads [9]
2020-05-06T07:49:46Z p-6159 t-goioffkqc DEBUG: Heartbeat: running threads [9]
Nothing into logs, no errors, ...
The only way to solve this is restarting sneakers workers. This behavior is a poltergeist case.
Any suggestions o any similar case?
We found thoses issues but did not solve our problem :( :
#392
#153
#244
Sneakers version:
sneakers (2.12.0)
Thanks sneakers community.
Same here,
After hours inactivity, i got issue restart immediate and sneakers stopped
So every time i always start manually
Sneakers version: 2.11.0
There are no consumer timeouts of any kind in Sneakers, its underlying client or RabbitMQ. See server logs for evidence of detected peer unavailability or any kind of channel exceptions.
Bunny supports automatic connection recovery but it can be unintentionally disabled for a user-provided connection, for example.