Home Forum Developers IP0x High CPU utilization

JRPassphrase Registration Control

In order to register on this site, you must first submit the passphrase below.

TODO list for each hardware target can be found as sticky topic in the corresponding forum


ckleea
useravatar
User Info

High CPU utilization

I notice that the CPU consumption is high. Very often up to 50% when idle.
Don't know why?



Edited By:  ckleea
Aug-30-10 02:26:05

Administrator has disabled public posting
admin
useravatar
User Info

Re: High CPU utilization

Hi ckleea,

To check the hungry process you can try something like

while true; do top -d1 | head -n 4 | tail -n 1; done;

If necessary modify it to store results in log file.
Please share your results.

Regards
Dimitar


Administrator has disabled public posting
hads
useravatar
User Info

Re: High CPU utilization

High CPU usage could be what is causing your SSH connections to be slow also.


Administrator has disabled public posting
ckleea
useravatar
User Info

Re: High CPU utilization

My screen shot of using top command is

Mem: 25860K used, 15868K free, 0K shrd, 124K buff, 464K cached
CPU:  54% usr  45% sys   0% nic   0% idle   0% io   0% irq   0% sirq
Load average: 3.16 3.10 3.03 4/52 16209
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
15005     1 root     R      728   2%  33% -sh
26794     1 root     R      728   2%  33% -sh
15072     1 root     R      724   2%  33% -sh
16207  8990 root     R      720   2%   1% top
  294     1 root     S      492   1%   0% procwatch -t 6000 -w 27 -p asterisk -
  401   308 root     S    13912  33%   0% asterisk -f
  308   292 root     S    13912  33%   0% asterisk -f
  389   308 root     S    13912  33%   0% asterisk -f
  310   308 root     S    13912  33%   0% asterisk -f
  312   308 root     S    13912  33%   0% asterisk -f
  292     1 root     S    13912  33%   0% asterisk -f
  400   308 root     S    13912  33%   0% asterisk -f
  397   308 root     S    13912  33%   0% asterisk -f
  399   308 root     S    13912  33%   0% asterisk -f
  315   308 root     S    13912  33%   0% asterisk -f
  394   308 root     S    13912  33%   0% asterisk -f
  398   308 root     S    13912  33%   0% asterisk -f
  390   308 root     S    13912  33%   0% asterisk -f
  396   308 root     S    13912  33%   0% asterisk -f
  391   308 root     S    13912  33%   0% asterisk -f


Administrator has disabled public posting
admin
useravatar
User Info

Re: High CPU utilization

Hi ckleea,

Your shell is doing something.
Is this original Switchfin or you have something extra?
Is this load happening all the time?
Do you have something you suspect?
Normally we have about 1% CPU load

Best Regards
Dimitar


Administrator has disabled public posting
ckleea
useravatar
User Info

Re: High CPU utilization

I use your default compilation. But I will recompile and install a new firmware again.


Administrator has disabled public posting
ckleea
useravatar
User Info

Re: High CPU utilization

The latest is 7% in GUI but very low in shell mode.


Administrator has disabled public posting
ckleea
useravatar
User Info

Re: High CPU utilization

As in other thread for slow SSH connection, I think this can alsoe be closed.


Administrator has disabled public posting
Albi90
useravatar
User Info

Re: High CPU utilization

This may have been due to the create_sounds script (that downloads the asterisk sound files) this takes its toll on the system on the first boot!!


Administrator has disabled public posting
ckleea
useravatar
User Info

Re: High CPU utilization

I don't think so. High CPU utilization persists few days after the system is up.


Administrator has disabled public posting
admin
useravatar
User Info

Re: High CPU utilization

Hi Ckleea,

I got confused.
Is the issue still open? If so please send me ssh log in information.

If the IP08 ssh is slow please give me ssh to your host box and connect serial cable to IP08


Best Regards
Dimitar


Administrator has disabled public posting
ckleea
useravatar
User Info

Re: High CPU utilization

No worry. I have found the connection speed back to normal when using FTP protocol. For SSH, I still encounter very slow connection.

However for device maintenance, it is now ok for me to use WinSCP under Windows XP using FTP protocol to connect to IP01. It is far more easy for me. to use this tool than the plain linux vi commands. I can disable any FTP access from the internet world via firewall.

This thread can also be closed because I can't find the high CPU utilization rate after using a new firmware svn 350.

Regards,

CK


Administrator has disabled public posting

Board Info

Board Stats:   Total Users: 2587  Total Topics: 299  Total Polls: 1  Total Posts: 1727  Dormant
User Info:   Newest User :  user2553   Members Online: 0   Guests Online: 271
Online  There are no members online
Topic
New
Locked
Topic
New
Locked
Sticky
Active
New/Active
Sticky
Active
New/Active
New/Closed
New Sticky
Closed/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky Active Locked
Active/Sticky
Sticky/Locked
Sticky/Active/Locked