Note that there are some explanatory texts on larger screens.

plurals
  1. POUnexpected server reset with php and apache
    primarykey
    data
    text
    <p>I have an application which interacts with a database. Suddenly and occasionally, pages are showing me <code>Server connection Reset</code> error in my Web browser. More surpisingly, accessing on a <code>localhost</code> page is triggering an alert on avast.</p> <p>If I refresh pages using <code>Ctrl+R</code>, it happens occasionally. PHP is not showing any error messages, and it seems like the server is taking more time to respond than usual.</p> <p>I am using wamp with apache 2.4, PHP 5.4.3. I am clueless as to where to start debugging or where to the problem is.</p> <pre><code>[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. </code></pre> <p><strong>UPDATE:</strong></p> <p>When 'connection request' occurs if is use <code>cachegrind</code> it shows partial list of callstack of methods. means it does not run all the code. it is showing some require_once calls and that it. next time if i retry to get the page, page executes and shows the whole callstack.</p> <p>When 'connection request occurs' it shows</p> <pre><code>18 different functions called in milliseconds (1 runs, 18 shown) </code></pre> <p>after retrying</p> <pre><code>220 different functions called in 329 milliseconds (2 runs, 220 shown) </code></pre> <p>I dont know why it is showing 2 runs. also it is taking more time to execute page. before it was doing it less than 100 ms.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload