Codex Gigas malware DNA profiling search engine discovers malware patterns and characteristics assisting individuals who are attracted in malware hunting.
MIT License
154
stars
38
forks
source link
Script to remove zombie rq workers from redis list after power outage #124
After power outage, worker containers will failed to start because the name of the worker is already registered in the redis database.
The workaround is to remove de container and re-create it.
The permanent fix would be to have a script that:
Checks the current workers (Group A)
Checks the workers on the redis db (Group B)
Remove (Group B - Group A)
Move tasks (Group B - Group A) were handling to the failed queue.
After power outage, worker containers will failed to start because the name of the worker is already registered in the redis database. The workaround is to remove de container and re-create it. The permanent fix would be to have a script that:
Related https://github.com/nvie/rq/issues/787