Activity Stream
48,167 MEMBERS
6836 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 5 123 ... LastLast
Results 1 to 10 of 47
  1.     
    #1
    Member

    Default [cpuwatchcheck] Cpu/Server Overload

    Hi guys,

    Since one month ago that I'm receiving many emails with notifications from my server about CPU overload.

    Can please someone tell me how can I detect the account or issue that is causing this overload? I use WHM and also have access via SSH.

    This is a copy of the last email:
    Code: 
    IMPORTANT: Do not ignore this email.
    *This is cPanel cpuwatch on server.enigmahost.org!
    *While processing, the cpu has been 
    maxed out for more than a 6 hour period. *The current load/uptime line on the server at the time of 
    this email is
    *10:49:04 up 233 days, 22:06, *0 users, *load average: 2.20, 2.34, 2.49
    *You should check the server to see why the load is so high and take 
    steps to lower the load. *If you want stats to continue to run even with a high load; Edit 
    /var/cpanel/cpanel.config and change extracpus to a number larger then 0 (run 
    /usr/local/cpanel/startup
    Thank you
    Divvy Reviewed by Divvy on . [cpuwatchcheck] Cpu/Server Overload Hi guys, Since one month ago that I'm receiving many emails with notifications from my server about CPU overload. Can please someone tell me how can I detect the account or issue that is causing this overload? I use WHM and also have access via SSH. This is a copy of the last email: IMPORTANT: Do not ignore this email. *This is cPanel cpuwatch on server.enigmahost.org! *While processing, the cpu has been Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Respected Member
    Bharat's Avatar
    Website's:
    ShineServers.Com Pickadedi.com
    Go to tweak settings under server setting , there you will find something like notifications , just disable it . Or increase the value .

  4.     
    #3
    Member
    Hmm thank you for your reply.
    I don't want to disable notifications, only need to know what account is causing this issue...
    I don't have any website with huge traffic in this server...
    And only have this problem since a few days ago.

    Is there any way to identify the account?
    Thank you!

  5.     
    #4
    Member
    Load time 2.20, 2.34, 2.49 is such a high load. look like DDOS or Brute-force attack.
    and your server is up from 233days ? its very hard to stable a server for a year. just restart it one time to refresh any service.

  6.     
    #5
    Member
    DDOS attack? damn... how can I solve that?
    Will the restart help? How can I restart my server?

    Thank you

  7.     
    #6
    Member
    Website's:
    WarezHackerZ.com WarezHackerz.in ForumScripts.org
    Restart server from solusvm or vps control panel

  8.     
    #7
    Member
    Will solve my problem?

    Btw, I have a dedicated server...
    How can I restart via WHM or SSH?

  9.     
    #8
    Member
    Website's:
    GFXWebHosting.com WarezJobs.com
    from ssh type top

    see which process is taking high cpu.

  10.     
    #9
    Member
    Thank you for your reply.

    Doing the top command, can you give an example of what I need to looking for?

    Thank you

  11.     
    #10
    Respected Member
    use top -c to get a better understanding.

    top alone looks like:

    last pid: 25384; load avg: 1.06, 1.04, 0.76; up 351+06:30:24 00:10:08 139 processes: 2 running, 136 sleeping, 1 zombie
    CPU states: 93.5% user, 0.0% nice, 6.3% system, 0.0% idle, 0.2% iowait
    Kernel: 8 newproc
    Memory: 5149M used, 2965M free, 303M buffers, 1341M cached
    Swap: 6840K used, 1986M free, 1844K cached
    PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
    25174 root 1 25 0 4256K 716K run 0:24 99.59% egrep
    14120 www 1 15 0 127M 110M sleep 0:08 8.00% mongrel_rails
    10243 root 1 15 0 48M 45M sleep 46.1H 3.60% ruby
    8880 www 1 15 0 146M 131M sleep 0:12 1.80% mongrel_rails
    18157 www 1 15 0 155M 140M sleep 0:21 0.60% mongrel_rails
    here a is a tutorial for sites under attack
    These are few steps to be taken when you feel that the server is under attack:
    --------------------------------------------------------------------------------
    -
    Step 1: Check the load using the command "w".

    Step 2: Check which service is utilizing maximum CPU by "nice top".

    Step 3: Check which IP address is taking maximum connection using the command:

    netstat -anpl|grep :80|awk {'print $5'}|cut -d":" -f1|sort|uniq -c|sort -n
    netstat -an|awk '/tcp/ {print $6}'|sort|uniq -c

    Step 4: Check the IP address of the server having maximum connection using the
    command:

    netstat -alpn | grep :80 | awk '{print $4}' | cut -d: -f1 |sort |uniq -c

    Step 5: Then block the IP address using APF firewall "apf -d <IP address>" or
    using CSF firewall "csf -d <IP address>
    --------------------------------------------------------------------------------
    -

    In future, to avoid DDoS attack or to lower its intensity you can install the
    following modules.

    ============
    *Mod_security: Since DDoS often targets HTTP (port 80), it is a good idea to
    have a filtering system for Apache. 'Mod_security' will analyze requests before
    passing them to the web server.

    *Mod_dosevasive: This is an Apache module which performs 'evasive' action in the
    event of an HTTP DDoS attack or brute force attack.

    *(D)DoS Deflate: This is a shell script which assists in combating denial of
    service attacks.
    ============

    Please go through the following URLs for more information on how to install
    "mod_security", "mod_evasive" and "dos_deflate" on your server:

    -------------------
    http://prasadnaik15.wordpress.com/ho...t-ddos-attack/
    -------------------
    http://www.eth0.us/mod_evasive
    -------------------
    http://forum.whmdestek.com/security/...tallation.html
    -------------------

    You can also enable Sysctl protection against DDoS. Please go through the
    following URL for more information in this regard:

    ----------
    http://forums.softlayer.com/showthread.php?t=304 [use your portal
    username/password to login]

    As mentioned by others, having some connections in TIME_WAIT is a normal part of the TCP connection. You can see the interval by examining /proc/sys/net/ipv4/tcp_fin_timeout:
    [root@host ~]# cat /proc/sys/net/ipv4/tcp_fin_timeout
    60

    And change it by modifying that value:
    [root@dev admin]# echo 30 > /proc/sys/net/ipv4/tcp_fin_timeout

    Or permanently by adding it to /etc/sysctl.conf
    net.ipv4.tcp_fin_timeout=30

    Also, if you don't use the RPC service or NFS, you can just turn it off:
    /etc/init.d/nfsd stop

    And turn it off completely
    chkconfig nfsd off

Page 1 of 5 123 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Wordpress DB making overload on VPS
    By cvrle77 in forum Technical Help Desk Support
    Replies: 43
    Last Post: 12th May 2012, 03:59 AM
  2. EU Investigates Internet's Overload
    By Ladybbird1 in forum News & Current Events
    Replies: 0
    Last Post: 12th Apr 2012, 03:11 PM
  3. Replies: 6
    Last Post: 11th Dec 2011, 08:40 AM
  4. Please help - Server overload
    By 3xupdate in forum Technical Help Desk Support
    Replies: 17
    Last Post: 18th Oct 2011, 04:53 PM
  5. [Hiring] IT Expert to fix server overload
    By krisuu in forum Completed Transactions
    Replies: 6
    Last Post: 10th Jun 2011, 04:18 AM

Tags for this Thread

BE SOCIAL