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.

How can I see which script is causing problems/high load

Discussion in 'General Discussion' started by SubZero, Oct 20, 2005.

  1. SubZero

    SubZero Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Balmumcu, Istanbul, TR
    Hi

    I see that a user is using so much resources. I have suexec enabled. But I can 't exactly see which script (and which exact request) is making this high load and causing problems. Can anybody point me to a direction?
     
  2. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider
    Try to kill a script and then run everything as usual, if load average goes down that's the one.. and if you have more than one, go rotating those steps until you find wich is.
     
  3. SubZero

    SubZero Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Balmumcu, Istanbul, TR
    The processes are PHP processes. I can not catch them myself :P
     
  4. apogee

    apogee Well-Known Member

    Joined:
    Nov 8, 2004
    Messages:
    107
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Europe
    cPanel Access Level:
    DataCenter Provider
    use lsof (man lsof)
     
Loading...

Share This Page