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

I'm on ubuntu (10.10) and I've got php5-fpm installed. Whenever I restart it, I get no errors, just a successful restart message. But it's not really working (I only know this because php pages get an error (502 bad gateway if I recall correctly). If I restart again it works just fine. So every time I need to restart I just do it quickly twice. The problem is I want to be able to restart an entire server and have it working without having to go restart php5-fpm again.

How can I figure out this problem? What logs should I look at? Anyone else had similar issues?

share|improve this question

1 Answer 1

/var/log/php5-fpm.log would be a good start.

You might want to check out the question and the suggestions at PHP-FASTCGI hangs with nginx, is there a better solution to this problem?, which describes a php-fpm that stops responding.

share|improve this answer
    
Nothing suspicious in the php fpm log (just normal messages). The question you suggested is different than php5-fpm. –  Matthew Jun 14 '11 at 1:42

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.