Apache does not respond sometimes

Discussion in 'Apache' started by hippyhop, May 10, 2010.

  1. #1
    Hi,

    I have Centos 5.4 (apache 2.2.3) installed on my server. Everything works perfect, however sometimes apache does not work properly. When I write my domain to browser it tries to reach the site, however it can't get any result. (There is no "browser couldn't find" error). The browser just tries to get the content.

    There is no server load (0.05, 0.02, 0.07), several httpd processes are running, no messages in error_log. All other services (named, sshd, and so on) work with no errors or lags.

    When I do
    telnet localhost 80
    and try
    GET /index.htm
    it does not return any result, but I can type in (connection is open)

    When I restart httpd everything goes back fine.

    It may hang again within 10 minutes or 10 hours.

    I have about 20 virtual hosts with a very low load, some of them contain php and perl scripts.
     
    hippyhop, May 10, 2010 IP
  2. Snoork Hosting

    Snoork Hosting Active Member

    Messages:
    117
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    68
    #2
    I would recommend the following solutions:

    - Rebuild you Apache configuration

    - Make sure the Apache is optimized properly.

    httpd.conf
    Code (markup):
     
    Snoork Hosting, May 14, 2010 IP
  3. raffo77

    raffo77 Active Member

    Messages:
    234
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    Maybe your apache are under attack or are in conflict with another application of your server..
    I can fix your problem in any case.
    PM me for more info
     
    raffo77, May 15, 2010 IP