1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/examples/monitrc.conf

7 lines
384 B
Text
Raw Normal View History

check process sidekiq_myapp
with pidfile /path/to/sidekiq.pid
2014-03-09 17:59:55 -04:00
start program = "bundle exec sidekiq -C /path/to/sidekiq_conf.yml -P /path/to/sidekiq.pid" with timeout 30 seconds
stop program = "kill -s TERM `cat /path/to/sidekiq.pid`" with timeout 30 seconds
if totalmem is greater than 500 MB for 2 cycles then restart # VM bloat is common in Rails apps
group myapp_sidekiq