codexgigassys / codex-backend

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

Open CrimsonGlory opened 7 years ago

CrimsonGlory commented 7 years ago

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