Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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)
share|improve this question

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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