I have been stress testing my PHP application hosted on Linux and using Apache. I am using Apache JMeter for stress test. During the test the normal response times are below 100 milliseconds. But during the test after few minutes the response times go high for the same HTTP requests than it comes down and after few minutes it again goes high. As high as 60K milliseconds.
I am a newbie in PHP and Apache. I am not sure from where to start look for the problem. Can anyone direct me on to how can I troubleshoot for this issue? The application is hosted on Amazon EC2.
First thing I am thinking about is may be garbage collection is the issue. Am I right?