Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

Commit

Permalink
Remove resource limits for sidekiq
Browse files Browse the repository at this point in the history
  • Loading branch information
dlackty committed Jul 13, 2015
1 parent 06c3c3f commit 590030e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sidekiq/templates/default/monitrc.conf.erb
Expand Up @@ -3,6 +3,5 @@ check process sidekiq_<%= @app_name %>_<%= num %>
with pidfile <%= @deploy[:deploy_to] %>/shared/pids/sidekiq<%= num %>.pid
start program = "/usr/bin/sudo su - deploy -c 'cd <%= @deploy[:deploy_to] %>/current; RAILS_ENV=production bundle exec sidekiq -d -C config/sidekiq.yml -P <%= @deploy[:deploy_to] %>/shared/pids/sidekiq<%= num %>.pid -L log/sidekiq.log'" with timeout 90 seconds
stop program = "/bin/bash -c '/bin/kill -TERM `cat <%= @deploy[:deploy_to] %>/shared/pids/sidekiq<%= num %>.pid`'" with timeout 180 seconds
if totalmem is greater than 320 MB for 2 cycles then restart # eating up memory?
group sidekiq_<%= @app_name %>
<% end %>

0 comments on commit 590030e

Please sign in to comment.