Apache times out after 2 minutes, when Apache TimeOut is 1200

Posted by Robert Gowland on Server Fault See other posts from Server Fault or by Robert Gowland
Published on 2010-05-07T21:10:15Z Indexed on 2010/05/07 22:08 UTC
Read the original article Hit count: 459

Filed under:
|

We have a set up where the browser makes an http request to Box A which in turn makes an http request to Box B. What we're encountering is that Box A waits for Box B to respond for two minutes then the users sees:

The page cannot be displayed Explanation: There is a problem with the page you are trying to reach and it cannot be displayed.

Try the following:

    * Refresh page: Search for the page again by clicking the Refresh button. The timeout may have occurred due to Internet congestion.
    * Check spelling: Check that you typed the Web page address correctly. The address may have been mistyped.
    * Access from a link: If there is a link to the page you are looking for, try accessing the page from that link. 

Technical Information (for support personnel)

    * Error Code: 404 Not Found. The requested item could not be located. (12028)

Watching the logs on Box B we see that it takes 5 minutes to do the work requested.

The problem is that the apache time outs on both boxes are set 1200 (20m), not 120 (2m).

Any ideas where to look?

© Server Fault or respective owner

Related posts about apache

Related posts about timeout