Sha256: a5a07b8b670ca2b3386b27bd50732f579a00a3561fda8fa8e33fc57032e30c88
Contents?: true
Size: 690 Bytes
Versions: 41
Compression:
Stored size: 690 Bytes
Contents
<% application = fetch(:application) %> set mail-format { subject: <%= "#{fetch(:full_app_name)} - #{fetch(:rails_env)}" %> $SERVICE $EVENT at $DATE } check process sidekiq with pidfile <%= current_path %>/tmp/pids/sidekiq.pid start program = "/etc/init.d/sidekiq_<%= application %>_<%= fetch(:rails_env)%> start" stop program = "/etc/init.d/sidekiq_<%= application %>_<%= fetch(:rails_env)%> 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
41 entries across 41 versions & 1 rubygems