apache not responding

Discussion in 'Apache' started by onel0ve, Feb 25, 2011.

  1. #1
    apache not responding when lots of visitor online
    how to fix it ??
    i am using kloxo panel
     
    onel0ve, Feb 25, 2011 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Hello there,

    You need to go through your error logs for Apache and figure out why it's stopped responding. Could be you have reached your max clients, and you may need to increase this value, if your server can handle more connections.

    Chris
     
    RHS-Chris, Feb 25, 2011 IP
  3. onel0ve

    onel0ve Member

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    43
    #3
    <IfModule prefork.c>
    StartServers 8
    MinSpareServers 5
    MaxSpareServers 20
    ServerLimit 256
    MaxClients 256
    MaxRequestsPerChild 4000
    </IfModule>

    and
    <IfModule worker.c>
    StartServers 2
    MaxClients 150
    MinSpareThreads 25
    MaxSpareThreads 75
    ThreadsPerChild 25
    MaxRequestsPerChild 0
    </IfModule>

    this will change ?
     
    onel0ve, Feb 25, 2011 IP
  4. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #4
    Just randomly guessing will not solve your issue. You need to examine the log files to see what is happening. If you have not customized Apache, odds are you are running as prefork, so that would be the one you may need to adjust settings on.

    Chris
     
    RHS-Chris, Feb 25, 2011 IP
  5. fantome2024

    fantome2024 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    with RHS-Chris on this one check those logs, apache is really good about throwing logs for anything.
     
    fantome2024, Mar 3, 2011 IP