Skip to content

Instantly share code, notes, and snippets.

View jedjones-uk's full-sized avatar

Jed Jones jedjones-uk

  • CIL Tech UK
  • South West, UK
View GitHub Profile
@jedjones-uk
jedjones-uk / hhvm.conf
Created November 8, 2016 15:13 — forked from tomazzaman/hhvm.conf
Monit configurations for commonly used services
check process hhvm with pidfile /var/run/hhvm/pid
group hhvm
start program = "/usr/sbin/service hhvm start" with timeout 60 seconds
stop program = "/usr/sbin/service hhvm stop"
if failed unixsocket /var/run/hhvm/hhvm.sock then restart
if mem > 400.0 MB for 1 cycles then restart
if 5 restarts with 5 cycles then timeout