For some reason, php-fpm keeps locking up and/or hanging. It works for a little while, and then it will randomly just 'hang' for a long time upon trying to load a webpage. There's absolutely nothing in my php-fpm.log about it, and I have no idea how to track down the problem otherwise. Can you guys help me track it down by pointing me in a new direction?

CentOS 6.2

[root@3AC19 ~]# php-fpm -v    
PHP 5.3.9 (fpm-fcgi) (built: Jul  5 2012 04:04:34)

1 Answer 1


Try to profile the hung php-fpm process using strace -p <PID_of_php-fpm process>. You can also try to get stacktrace samples using gdb, more details here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.