在segfault上自动重启php-fpm

我想在段错误后重新启动php-fpm。 我在ubuntu 14.04上运行php-fpm。 它使用暴发户来检查服务。 我尝试使用respawn选项设置自动重启,但在SIGSEGV php-fpm之后没有重启。 你能build议 – 什么是最好的方式来总是PHP。 谢谢。

root@xcart5:~# cat /etc/init/php5-fpm.conf | grep resp respawn respawn limit unlimited root@xcart5:~# service php5-fpm restart root@xcart5:~# ps ax | grep php | wc -l 2 root@xcart5:~# service php5-fpm restart root@xcart5:~# ps ax | grep php 2786 ? Ss 0:00 php-fpm: master process (/etc/php5/fpm/php-fpm.conf) 2799 ? S+ 0:00 grep php root@xcart5:~# kill -SIGSEGV 2786 root@xcart5:~# ps ax | grep php 2813 ? S+ 0:00 grep php