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.

Sites are so slow

Discussion in 'General Discussion' started by adrov, Sep 23, 2009.

  1. adrov

    adrov Member

    Joined:
    Sep 20, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    All on sudenly sites are slow and loading forever, while last two weeks everything was superb and loading very fast.

    I have looked under CPU usage and it says:
    Top Process %CPU 70.1 /usr/bin/perl /etc/cron.hourly/modsecparse.pl
    Top Process %CPU 69.3 /usr/bin/perl /etc/cron.hourly/modsecparse.pl
    Top Process %CPU 68.1 /usr/bin/perl /etc/cron.hourly/modsecparse.pl

    What is that?
    Can you help me?

    Also anyone here on forum is doing WHM optimizations?
     
  2. Jtellup

    Jtellup Member

    Joined:
    Dec 11, 2008
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    I have the same thing this morning, it started at 2:00 am EST

    Nobody is consuming 99% of the CPU can't find it.
     
  3. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    If the nobody is httpd process then you will need to check the process running under particular domain. You can check it using the below mentioned command:

    grep $(lsof -p PID | grep cwd | awk '{print $9}' | awk -F '/' '{ print $3 }') /etc/userdomains

    Replace PID with the original process ID.
     
  4. adrov

    adrov Member

    Joined:
    Sep 20, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Good advice, thanks. I see you have good knowledge of managing cpanel :)

    Perhaps you can advise me good bruteforce protection?
     
  5. Jtellup

    Jtellup Member

    Joined:
    Dec 11, 2008
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Thanks I'll check that out
     
  6. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    You can use CSF (ConfigServer Security & Firewall) for the bruteforce protection.
     
Loading...

Share This Page