The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache hangs for no reason

Discussion in 'EasyApache' started by celliott, Oct 29, 2006.

  1. celliott

    celliott Well-Known Member

    Joined:
    Jan 2, 2006
    Messages:
    460
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Have you tried recompiling Apache from scratch?
     
  2. [iGri]

    [iGri] Member

    Joined:
    Jun 25, 2003
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hey,

    In the past two weeks a problem surfaced on one of my servers which I haven't seen before. Periodically, the apache server just seems to hang and does not accept any connections.

    When this happens, I can access the server through SSH with no problems, the load is always fine, there are no runaway processes either. Apache servers themselves seem to be online and running fine, but when I try to do 'lynx localhost', it gets stuck at 'request sent, waiting for reply'. It doesn't seem like it is tied to MySQL, I have a couple of sites which are pure HTML and it's the same story (no hung processes in mysqladmin either).

    I'm not sure what is causing this, but restarting apache always fixes this - so it seems like it's an apache problem somewhere? (Recent one too). It's as if there is a blocking IO somewhere, and all threads decide to wait on it?

    Has anyone come across a similar scenario? I'm really at a loss on how to go about debugging this one. I'm not sure how to reproduce it, and there isn't much I'm able to extract from it once it does happen. :mad:

    Cheers,
    Ilya
     
  3. [iGri]

    [iGri] Member

    Joined:
    Jun 25, 2003
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hmm, that's a brute-force approach, but I'll give it a shot.

    P.S. How is it that your reply came before my first post? ;) Time travel?
     
Loading...

Share This Page