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

Unicorn worker killer not working #43

Closed
apchester opened this issue Oct 5, 2014 · 1 comment
Closed

Unicorn worker killer not working #43

apchester opened this issue Oct 5, 2014 · 1 comment

Comments

@apchester
Copy link

I have a Rails 3.2.19 application running on ruby 1.9.3 and have just installed unicorn killer to restart the worker processes.
I have added the line to the Gemfile and placed the following lines into config.ru as directed by the readme:

require 'unicorn/worker_killer'
use Unicorn::WorkerKiller::MaxRequests, 500, 1000, true

However restarting the application causes Unicorn to continually restart after failing on the require line. with the error below

config.ru:4:in require': cannot load such file -- unicorn/worker_killer (LoadError) from config.ru:4:inblock in

'

I think that this is the same issue as #35 although I am on a much older version of ruby/rails.

@apchester
Copy link
Author

It appears that explicitly stopping and starting the unicorn process solves this issue.

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