Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sidekiq-unique-jobs kills sidekiq in production #183

Closed
twetzel opened this issue Jun 2, 2016 · 1 comment
Closed

sidekiq-unique-jobs kills sidekiq in production #183

twetzel opened this issue Jun 2, 2016 · 1 comment

Comments

@twetzel
Copy link

twetzel commented Jun 2, 2016

since I´m using sidekiq-unique-jobs sidekiq stops working after some hours with really strange errrors like:

  • missing mailer templates
  • no access to database
  • no access to rails
  • no bash methods (like pwd isn't available)

my config:

  • Ruby 2.2.1
  • Rails 4.2.5
  • sidekiq 4.1.2
  • sidekiq-unique-jobs 4.0.17
  • redis (gem) 3.3.0 ... DB-Version 2.8.4
  • redis-namespace 1.5.2
    on Ubuntu 14.04

Can`t really say when and how that happens, but sidekiq works perfect yesterday .. today again mailer cant find template .. cant find Model with ID x .. sometimes that even kills the hole app

Everything works fine bevor sidekiq-unique-jobsand now everyday errors .. after restarting sidekiq works fine again ???

@twetzel
Copy link
Author

twetzel commented Jun 6, 2016

hey guys, think I found the solution myself.
after adding sidekiq-unique-jobs capistrano somehow spawned new sidekiq instances instead of replacing the old ones .. so there where still some old instances on the server (which than mean, 6 deployments later, they really had no working directory anymore, because capistrano removed the folder)

no new appearance, of this strange error, till friday .. so I think everything is fine again.

And it was absolutely NOT related to sidekiq-unique-jobs!

.. so sorry for this issue ..
Torsten

@twetzel twetzel closed this as completed Jun 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant