unicorn-worker-killer
unicorn-worker-killer copied to clipboard
Automatically restart Unicorn workers based on 1) max number of requests and 2) max memory
Added the parameter `object_space_dump` to Unicorn::WorkerKiller::Oom. When it is set to true, before killing a process for memory reason, memory object space is dumped to file. By default the file...
I'm sorry for the silly PR, but I got confused by the message a bit, maybe this is clearer ? don't hesitate to close it if you don't like it...
It seems to me that allowing users to specify memory_limit_min and memory_limit_max as integers and doing the RSS calculation internally would make for better UX.
How can we check that unicorn worker process are getting killed and process can respawn themselves as per the pre-memory limit set in unicorn/worker_killer module. What is the memory maths...
Was this a typo? Without install it says `ERROR: While executing gem ... (Gem::CommandLineError) Unknown command unicorn-worker-killer`
Enable manual requests of restarting in a clean manner by calling `Unicorn::WorkerKiller::DelayedRestart.restart_worker_in_a_delayed_manner!` Example: Useful for rack-timeout handling where we want to catch & report the timeout (as [recommended by heroku](https://devcenter.heroku.com/articles/rails-unicorn#rack-timeout))...
I'm running ruby 2.1.2 and rails 3.2.22. I'm getting this error in my logs right after I tried to add unicorn-worker-killer: ``` _dispatch/middleware/debug_exceptions.rb:16:in `call'", "/app/vendor/bundle/ruby/2.1.0/gems/rollbar-1.5.1/lib/rollbar/middleware/rails/show_exceptions.rb:22:in `call_with_rollbar'", "/app/vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.9.1.236/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'", "/app/vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.22/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'",...
Hi, I'm not sure what the unit of the check_cycle variable it? How ofter does the default value of 16 performs a check? Thanks.
Hi, I am packaging unicorn-worker-killer for Debian as part of GitLab packaging. Can you add some tests to the gem so that we can check the gem works perfectly. Thanks....
This defines a simple index file at the gem's root directory that you can point your Gemfile by using: `gem 'unicorn-worker-killer', require: 'unicorn_worker_killer'` This seems to satisfy config.ru when it...