Diagnosing sidekiq issues
- Visit: https://www.powr.io/sidekiq
- Are there busy workers that have been taking minutes to hours to run? (Generally, only admin workers should take this long)
- STOP the workers in the /sidekiq interface.
- If DB is still slow, you may need to Reset DB Connections (see below)
- Figure out what code is causing these to take too long
- Is enqueued list > 10,000?
- Are busy workers slow? See previous bullet.
- Is the same task duplicated many times?
- Are workers not running at all? Visit heroku and see how many instances are running. Increase if necessary (usually up to 10 workers).