Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Jun 2004
    Posts
    11

    Default nestat causes high server loads

    I noticed netstat is causing high resource usage:

    User Domain %CPU %MEM Mysql Processes
    root 19.29 16.07 1.9
    Top Process %CPU 99.9 netstat -nlp
    Top Process %CPU 94.0 netstat -nlp
    Top Process %CPU 93.0 netstat -npl


    I am running cpanel 10.2.0-R82 on Fedora 2. Any help qould be appreciated. I also have LSM running every 30 minutes, and PRM every 6 (don't know if that matters). Any other processes using netstat?
    prankstr25

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge jester.ro's Avatar
    Join Date
    Feb 2004
    Location
    Bucharest, Romania
    Posts
    304

    Default

    it's lsm's fault.

    i had it installed on a busy server, it was ok during the first night, but in the morning it almost crashed the server.

    one run of lsm took almost 10 minutes of 99% CPU usage

    it's 23:59 on that server, and a netstat -atunlp|wc -l

    yelds 1238

    during the day there are about 5000.

    so i'd sugest either making it run less often (maybe daily)

  3. #3
    Member
    Join Date
    Mar 2005
    Location
    Ekaterinburg - Russia
    Posts
    56
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    If you search, before you post, you will find the solution quicker

    http://forums.cpanel.net/showthread.php?t=35759

  4. #4
    Member
    Join Date
    Jun 2004
    Posts
    11

    Default

    yeah, I had seen that post before I posted, and had applied the solution suggested there, but the problem persists...
    prankstr25

  5. #5
    Member
    Join Date
    Aug 2004
    Posts
    200

    Default

    I thought I'd throw my $0.02 on this one...

    I have the same issue but not because of anything suggested here...

    Turns out the issue was SIM looking to eth0 instead of eth1 for netstat, which obviously returns bogus data or incorrect data, or nothing at all.

    Changing that resolved the high netstat load. So basically, make sure anything using netstat is looking to the right device.

  6. #6
    Member
    Join Date
    Mar 2003
    Posts
    604

    Default

    Quote Originally Posted by djmerlyn
    I thought I'd throw my $0.02 on this one...

    I have the same issue but not because of anything suggested here...

    Turns out the issue was SIM looking to eth0 instead of eth1 for netstat, which obviously returns bogus data or incorrect data, or nothing at all.

    Changing that resolved the high netstat load. So basically, make sure anything using netstat is looking to the right device.
    Where in sim did you change this?

  7. #7
    Member
    Join Date
    Oct 2006
    Posts
    28

    Default

    I have this same issue.

    I do not have SIM installed nor LSM installed.

    What else could cause it?

    root@server [/etc/cron.d]# ls
    ./ ../ ddos.cron spri sysstat

    I do not use APF nor BFD. I use CFS/LFD instead

  8. #8
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Probably caused by SPRI then.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  9. #9
    Member
    Join Date
    Oct 2006
    Posts
    28

    Default

    How do I uninstall SPRI? Do you have an alternative for SPRI to recommend?

Similar Threads & Tags
Similar threads

  1. Server goes down during backup / high loads
    By neilio in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-19-2006, 06:19 PM
  2. mysql/high server loads
    By HSAdam in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-14-2003, 11:16 AM
  3. Server Crashing/High Loads
    By HSAdam in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-14-2003, 07:34 AM
  4. HELP!!! HIGH SERVER LOADS...
    By nitromax in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-08-2002, 06:34 AM
  5. high loads - server freezing
    By AlaskanWolf in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-27-2002, 07:28 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube