mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Adding monit example. Untested; just a template
This commit is contained in:
parent
cca7580512
commit
16a6f258a3
1 changed files with 6 additions and 0 deletions
6
examples/monitrc.conf
Normal file
6
examples/monitrc.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
check process sidekiq_myapp
|
||||
with pidfile /path/to/sidekiq.pid
|
||||
start program = "bundle exec sidekiq -C /path/to/sidekiq_conf.yml -P /path/to/sidekiq.pid" with timeout 90 seconds
|
||||
stop program = "kill -s INT `cat /path/to/sidekiq.pid`" with timeout 90 seconds
|
||||
if totalmem is greater than 200 MB for 2 cycles then restart # eating up memory?
|
||||
group myapp_sidekiq
|
Loading…
Reference in a new issue