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 have this little problem on my server. Few times a week my server goes down for few minutes (2-3). All i could see was that every time one of the php-fpm processes is on 100% in top. As well as that our drive has a little write spike (by little i mean 4M throughput on 3disk SSD array.)

Server is running on NGINX + FPM, LEMP server. It has 24Cores, 48G RAM and 3xSSD's RAID5 array.

I have checked the error logs and other logs too, and there does not seem anything I could cache on ... It's been happening for over a week now, and I am starting to get worried.

Anyone have had any similar problems ? or could point me to some direction ? That would be lovely. Cheers.

share|improve this question
up vote 2 down vote accepted

Enable PHP-FPM's slow log. This would dump a stack trace of your application whenever it runs longer then X seconds (I believe this defaults to 10).

It's impossible for anyone to tell you what is actually causing the issue with just the information given so far. I can tell you it's almost certain some code in the application you are running.

share|improve this answer
cheers, I ll try doing that. – Katafalkas Mar 30 '12 at 13:26
awesome advice, works like a charm, much <3 – Katafalkas Apr 3 '12 at 9:08

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.