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.

At certain times Apache is extremely slow and the problem is solved by restarting the server.

Checking "top" there aren't any unusual processes that take any extra resources. Also, when checking "iftop" the bandwidth isn't unusually high.

The problem is solved right after the command "service nginx restart" is run. It feels as though there is a while loop or something similar that slows the entire server down (10 seconds for loading 1 page).

Shouldn't however PHP's default timeout settings stop this from happening? My question is: what are the most common causes to a problem like this or how do I diagnose the issue and find out what the problem is?

share|improve this question
You need to provide a LOT more information in order to get any reasonable help. How about including what you see in top when you are getting a problem? –  mdpc Sep 2 '13 at 20:08
So, apache or nginx? :) –  GioMac Sep 3 '13 at 4:35

Your Answer


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