php-fpm version 5.4 with nginx constantly restarting

endyourif asked:

I just upgraded my php version from 5.3.x to 5.4.x and since doing this – memory has dropped signifincantly! – however, I’m constantly getting these in my php5-fpm.log:

[18-Sep-2012 15:11:34] WARNING: [pool www] child 8981 exited on signal 11 (SIGSEGV - core dumped) after 65.813370 seconds from start
[18-Sep-2012 15:11:34] NOTICE: [pool www] child 8988 started
[18-Sep-2012 15:12:09] WARNING: [pool www] child 8988 exited on signal 11 (SIGSEGV - core dumped) after 35.185071 seconds from start
[18-Sep-2012 15:12:09] NOTICE: [pool www] child 8990 started
[18-Sep-2012 15:12:17] WARNING: [pool www] child 8990 exited on signal 11 (SIGSEGV - core dumped) after 8.277977 seconds from start
[18-Sep-2012 15:12:17] NOTICE: [pool www] child 8992 started
[18-Sep-2012 15:12:18] WARNING: [pool www] child 8982 exited on signal 11 (SIGSEGV - core dumped) after 109.550089 seconds from start
[18-Sep-2012 15:12:18] NOTICE: [pool www] child 8995 started
[18-Sep-2012 15:12:18] WARNING: [pool www] child 8985 exited on signal 11 (SIGSEGV - core dumped) after 109.668554 seconds from start
[18-Sep-2012 15:12:18] NOTICE: [pool www] child 8996 started

From what I can gather this is php silently dying? I’m running basic WordPress sites that keep popping up with 502 errors while php-fpm is constantly spinning up new processes.

My answer:


PHP 5.4 is still kind of new, and crash bugs are being fixed all the time.

  1. Update to the latest version of PHP, currently 5.4.7.
  2. If the latest version of PHP still crashes, report a bug.

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.