Created
May 4, 2013 16:28
-
-
Save alain75007/5518001 to your computer and use it in GitHub Desktop.
Monit configuration for sidekiq on debian which complete the init shell you'll find in my gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
check process sidekiq_production with pidfile /var/run/sidekiq_production.pid | |
depends on redis-server | |
start program = "/etc/init.d/sidekiq_production start" with timeout 90 seconds | |
stop program = "/etc/init.d/sidekiq_production stop" with timeout 90 seconds | |
if totalmem is greater than 200 MB for 2 cycles then restart # eating up memory? | |
if 2 restarts within 3 cycles then timeout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment