Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

/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


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.