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.

Sorry that I cannot provide very detail information, but only symtoms ...

It's a CentOS + Apache + MySQL + PHP web app. In recent weeks, roughly during 12:05am to 12:50am, the app is timeout and returns nothing to the browser. We looked into the apache log, firewall log, top cpu and memory usage, and did not see anything special. The apache log shows traffic increased not more than 200%, compare with normal period.

How should we proceed and further diagnostic this issue?

UPDATE:

netstat shows roughly 300 active syn_recv and close_wait coming from 2 IP addresses during the busy period. Is there a way to minimize the impact from individual IPs?

share|improve this question
1  
If the page you are requesting is taking too long to execute, you may need to tune the PHP config parameter max_execution_time in php.ini –  Khaled Sep 14 '11 at 10:15

1 Answer 1

You can strace the process and find where the bottleneck is.

Here is good video that will show you how to track the problem.

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.