Optimizing for High Load

Discussion in 'Apache' started by skidmark, Sep 12, 2007.

  1. #1
    Does anyone know of any good tools to analyze apache when it's under high load. I need something more useful the top. I've been having high load issues on my machine for a while, but traffic is actually dropping & am having a lot of trouble figuring out what the problem is.
     
    skidmark, Sep 12, 2007 IP
  2. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Are you sure it's apache. ?
    If it's a database-powered site, i would look at mysql first
     
    cyanide, Sep 12, 2007 IP
  3. powerspike

    powerspike Peon

    Messages:
    312
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    have you installed a caching engine into php ? like apc / zend etc ?

    that'll help with some of the load, but i'm not sure of a program or tool that will tell you what is going on inside apache on a leveling that is useful

    there is server-status, but it tells you what apache is doing (ie threads workers requests etc) but not what it IS running (ie running script X)
     
    powerspike, Sep 13, 2007 IP
  4. hamidof

    hamidof Peon

    Messages:
    619
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #4
    There can be many things to cause this, look at Apache error log, also check and see what requests Apache is processing for a few minutes.

    What is your server configuration anyway?
     
    hamidof, Sep 13, 2007 IP