I have an application that interacts with a database. Suddenly and sometimes the pages show me a Server connection Reset error in my web browser. More closely, access on the localhost page triggers a warning on avast.
If I refresh pages with Ctrl+R , this happens sometimes. PHP does not show any error messages, and it seems that the server needs more time to respond than usual.
I am using wamp with apache 2.4, PHP 5.4.3. I do not know where to start debugging or where the problem is.
[Sun May 13 13:01:14 2012] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Sun May 13 13:01:14 2012] [notice] Apache/2.2.22 (Win32) mod_ssl/2.2.22 OpenSSL/0.9.8x configured -- resuming normal operations [Sun May 13 13:01:14 2012] [notice] Server built: May 13 2012 12:51:11 [Sun May 13 13:01:14 2012] [notice] Parent: Created child process 3660 Apache server interrupted... arn] Init: Session Cache is not configured [hint: SSLSessionCache] [Sun May 13 13:01:15 2012] [notice] Child 3660: Child process is running [Sun May 13 13:01:15 2012] [notice] Child 3660: Acquired the start mutex. [Sun May 13 13:01:15 2012] [notice] Child 3660: Starting 64 worker threads. [Sun May 13 13:01:15 2012] [notice] Child 3660: Starting thread to listen on port 80. [Sun May 13 13:01:15 2012] [notice] Child 3660: Starting thread to listen on port 80. [Sun May 13 13:01:28 2012] [notice] Parent: Received shutdown signal -- Shutting down the server. [Sun May 13 13:01:28 2012] [notice] Child 3660: Exit event signaled. Child process is ending. [Sun May 13 13:01:29 2012] [notice] Child 3660: Released the start mutex [Sun May 13 13:01:30 2012] [notice] Child 3660: All worker threads have exited. [Sun May 13 13:01:30 2012] [notice] Child 3660: Child process is exiting [Sun May 13 13:01:30 2012] [notice] Parent: Child process exited successfully.
UPDATE:
When a connection request appears, if cachegrind used, it shows a partial list of calling methods. means that it does not run all the code. it shows some calls to require_once and what it is. next time, if I try again to get the page, the page executes and shows the entire column.
When a connection request appears, it shows
18 different functions called in milliseconds (1 runs, 18 shown)
after retrying
220 different functions called in 329 milliseconds (2 runs, 220 shown)
I do not know why it shows 2 runs. It also takes longer to complete the page. before he did it in less than 100 ms.
varuog
source share