Sha256: 6f6638d0e0d1fa434d6b36e495a98fcdd6b9c596ab45e6048b1befc6b861e226
Contents?: true
Size: 683 Bytes
Versions: 3
Compression:
Stored size: 683 Bytes
Contents
set mail-format { subject: <%= "#{fetch(:application)} - #{fetch(:stage)}" %> $SERVICE $EVENT at $DATE } check process <%= fetch(:application) %>_<%= fetch(:stage) %> with pidfile <%= current_path %>/tmp/pids/sidekiq.pid start program = "/etc/init.d/sidekiq_<%= fetch(:application) %>_<%= fetch(:stage)%> start" stop program = "/etc/init.d/sidekiq_<%= fetch(:application) %>_<%= fetch(:stage)%> stop" if mem is greater than 500.0 MB for 1 cycles then restart # eating up memory? if cpu is greater than 50% for 2 cycles then alert # send an email to admin if cpu is greater than 80% for 30 cycles then restart # hung process? group sidekiq
Version data entries
3 entries across 3 versions & 1 rubygems