Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
sidekiq not processing queues in 3.16 #246
I'm trying to import our articles from crossref. I can see the crossref import jobs accumulating in sidekiq, but nothing happens - Sidekiq isn't processing anything.
seeing the same behaviour on an AWS instance now.
the user being used to run sidekiq has full rwx on the /var/www/lagotto and it's subdirs where sidekiq is storing logs and pids, so not being limited by permissions there.
I am seeing activity in the sidekiq log (attached). Once an hour at 10mins past the hour it appears to queue ~8 jobs and finish them. This is the hourly cron. The number of processed jobs goes up, but so does the number enqueued - this means it will never reach the end of the 'critical' queue.
The daily cron job is giving an error that appears to be related to the database:
All migrations have been run.
Does the daily cron event process the jobs in the 'high' queue and the hourly event those in the 'critical' queue?
@lsh-0 I have identified two issues. The first is an issue with passing ENV variables to the Sidekiq configuration file
The other issue is the path to the Sidekiq config, log and pid files. I have rewritten the logic to be more robust for different server configurations.
Let me know if you still have problems after deploying the latest code from the
I'll update now and let you know
On Tue, Feb 17, 2015 at 10:26 AM, Martin Fenner email@example.com
eLife Sciences Publications, Ltd is a limited liability non-profit
after shifting to
The daily cron is still giving me the same error as above though:
I can raise this as a separate bug if you'd like.
Ok, some progress. To run sidekiq manually (-d to run as daemon), use this command from your root folder:
RAILS_ENV=production bundle exec sidekiq -C ./config/sidekiq.yml -d
And make sure you have