check process spawn-fcgi with pidfile /var/run/spawn-fcgi/spw-cgi.pid
	group www
	group spawn-fcgi
	start program = "/sbin/service spawn-fcgi start"
	stop  program = "/sbin/service spawn-fcgi stop"
	if failed port 1027 type TCP
		then restart
    if mem usage > 90% for 5 cycles
	    then restart
	if cpu usage > 90% for 5 cycles
		then alert
	if 5 restarts with 5 cycles
		then timeout
