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.

logging server status

Discussion in 'General Discussion' started by hahahehe, Mar 11, 2012.

  1. hahahehe

    hahahehe Registered

    Joined:
    Mar 11, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    i keep having issues with my server stalling for http requests when the server status reads high like 5+.

    My host says they cant see any issues with resource spikes. How can i record instances of the server status when it reaches a certain level and the times it does so?

    tx.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    WHM > Server Status > Daily Process Log

    At top of this page you see dates that can be clicked to move forward or backward thru this log, this data should be able to give you some sort of idea whats going on I would think.
     
  3. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    745
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Howdy,

    If you happen to catch it while it's running, you can always run this little bit.
    Code:
    netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -n
    it will print out the ip's that are using apache the most on the server.

    Thanks!
     
Loading...

Share This Page