This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

100% CPU Utilization

Hi, I  have been showing 99-100% CPU utilization for the past 2 days on a 4.021 ASL box. I have not rebooted because this is a production box for a client. The system 'seems' to be performing OK though? The HW on this box is a PII-450, 64MB RAM, and a 8GB HDD. This ASL is providing firewalling, RSA Net-to-Net VPN with 1 other ASL peer, PPTP, ans surf control. I do not see any of the logs growing to a huge size..none are breaking a megabyte. I am not receiving any e-mails from the selfmonitor. The peer site is performing the same functionality with a lower power CPU running around 25-30% CPU utilization. Any ideas? Please let me know if any further info is required. Thanks!

This is what is taking the most CPU resources:

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root       439 82.0  0.8  5644  520 ?        R    Feb20 3392:07 /usr/local/bin/superdaemon.pl     


This thread was automatically locked due to age.
Parents
  • Try to put some more memory in the ASL box. 64Mb is litle i think. I have 384Mb ram in my ASL 
  • Thanks for the quick reply! I know it is a little shy on memory, but the memory utilization is actually not too bad. The problem is the CPU load for some reason. That superdaemon process is only using 0.8 of mem...kind of weird.  
  • But if you have more memory your cpu must not work so much so try to add some more memory in toyr ASL box. 
  • I think the superdaemon process was 'confused' or something. I sent it a SIGHUP and the process went down to 0.4

    USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
    root     28452  0.4  6.9  5628 4348 ?        S    18:15   0:01 /usr/local/bin/superdaemon.pl

    Then after a couple of minutes the CPU utilization report went down to 19%. Kind of a weird thing...I will keep my eye on it and keep you posted if I can pinpoint what made that service run away.

    Brent  
  • It happened again after around 12 hours...the CPU utilization is back up to 99% with superdaemon process using 70% of that. I can not put my finger on it. And like I said previously, I have another ASL setup just like this one at the other site and it is averaging at 33% load and that PC has a lower processor (P-MMX 233MHz compared to a PII-450 on this one) but it does have slightly more memory (32MB more) but I just don't see that little bit less memory causing a 2/3 jump in CPU utilization....but who knows.

    I sent the superdaemon process a SIGHUP again to bring the CPU utilization back down to 42% with the superdaemon process at 0.6%.  
Reply
  • It happened again after around 12 hours...the CPU utilization is back up to 99% with superdaemon process using 70% of that. I can not put my finger on it. And like I said previously, I have another ASL setup just like this one at the other site and it is averaging at 33% load and that PC has a lower processor (P-MMX 233MHz compared to a PII-450 on this one) but it does have slightly more memory (32MB more) but I just don't see that little bit less memory causing a 2/3 jump in CPU utilization....but who knows.

    I sent the superdaemon process a SIGHUP again to bring the CPU utilization back down to 42% with the superdaemon process at 0.6%.  
Children
  • I had a high utilization problem at midnight, when the logs from the previous day were processed. By changing the packet filtering to reduced the amount of log dropped packets in the kernel log, and by adding RAM to the ASL box, the problem went away.

    I initially had 128 MB RAM in the box. It used around 101 MB, plus around 30 MB swap space. When I increased the RAM to 192 MB, it uses practically no swap space, and the CPU utilization stays in the 7 - 11% range.

    I would recommend that you add another 128 MB RAM to your ASL box. For best performance, the box should have sufficient RAM so that the Linux swap partition is hardly being used at all.
      
  • Yeah, I am just going to recommend to the client that they upgrade to a higher end PC/server to resolve this problem and to be ready for ASL5. Thanks everyone for all the feedback!!

    Brent   
  • Same thing is happening to me, too.  And it is NOT the load.  Max number of users is 2 (home dls line).  Started Sunday.  Same version.

    Box had been humming for months, going down only for kernel updates.

    I do have the surf control option.  
  • Has been running at normal utilization for over 24 hours now after reboot.

    Val