Avatar of mescueta
mescueta

asked on 

High load average on Linux Server running asterisk Question

we are running CentOS ans Asterisk on Dual Proc 3.0 GHZ machine , we are currently experiencing system slow downs. Is this cause of High Load average?

top - 10:26:58 up 20:55,  5 users,  load average: 21.88, 17.62, 15.70
Tasks: 112 total,   3 running, 109 sleeping,   0 stopped,   0 zombie
Cpu0  :  7.9% us, 27.8% sy,  0.0% ni, 21.2% id,  0.3% wa,  5.6% hi, 37.1% si
Cpu1  : 25.2% us, 50.2% sy,  0.0% ni, 15.9% id,  4.7% wa,  0.0% hi,  4.0% si
Cpu2  : 23.8% us, 51.5% sy,  0.0% ni, 15.5% id,  5.6% wa,  0.0% hi,  3.6% si
Cpu3  : 25.6% us, 51.5% sy,  0.0% ni, 13.3% id,  7.3% wa,  0.0% hi,  2.3% si
Mem:   4150376k total,  4098092k used,    52284k free,    38780k buffers
Swap:  2031608k total,      144k used,  2031464k free,  3878640k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 2410 root      15   0     0    0    0 S 22.9  0.0  28:00.12 nfsd
 2414 root      15   0     0    0    0 S 18.3  0.0  25:21.99 nfsd
 2236 root      16   0  133m  58m 5180 R  5.3  1.5   9:29.85 asterisk
16479 root      16   0  4088 2480  704 S  2.7  0.1   0:17.84 mtr
32571 root      16   0  4736 2480  700 R  2.3  0.1   1:00.57 mtr
18208 root      16   0  3556  968  756 S  0.7  0.0   0:02.54 top
    8 root      RT   0     0    0    0 S  0.3  0.0   0:00.78 migration/3
  238 root      15   0     0    0    0 S  0.3  0.0   1:03.68 kjournald
 7693 root      16   0  2500  968  756 S  0.3  0.0   0:11.39 top
24805 root      16   0     0    0    0 S  0.3  0.0   0:03.79 pdflush
15902 errien    15   0  7404 2208 1800 S  0.3  0.1   0:02.09 sshd
 4751 root      17   0  2772  972  756 R  0.3  0.0   0:00.12 top
    1 root      16   0  3324  560  480 S  0.0  0.0   0:01.14 init
    2 root      RT   0     0    0    0 S  0.0  0.0   0:02.67 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:06.18 ksoftirqd/0
    4 root      RT   0     0    0    0 S  0.0  0.0   0:00.82 migration/1
    5 root      34  19     0    0    0 S  0.0  0.0   0:00.13 ksoftirqd/1
    6 root      RT   0     0    0    0 S  0.0  0.0   0:01.39 migration/2
    7 root      34  19     0    0    0 S  0.0  0.0   0:00.54 ksoftirqd/2
    9 root      34  19     0    0    0 S  0.0  0.0   0:00.72 ksoftirqd/3
   10 root       5 -10     0    0    0 S  0.0  0.0   0:00.45 events/0
   11 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 events/1
   12 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 events/2
   13 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 events/3
   14 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 khelper
   15 root      15 -10     0    0    0 S  0.0  0.0   0:00.00 kacpid
   48 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 kblockd/0
   49 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 kblockd/1
   50 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 kblockd/2
   51 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 kblockd/3
   64 root      12 -10     0    0    0 S  0.0  0.0   0:00.00 aio/0
   65 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 aio/1
   66 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 aio/2
   67 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 aio/3
IP TelephonyVoice Over IPServer Hardware

Avatar of undefined
Last Comment
grblades
Avatar of grblades
grblades
Flag of United Kingdom of Great Britain and Northern Ireland image

The high load looks to be in the system process.

My guess is that there is an IRQ problem. There is a brief troubleshooting guide at http://www.voip-info.org/wiki/view/Asterisk+PCI+bus+Troubleshooting

What telephony (E1/T1, FXO/FXS etc...) cards do you have installed?

On the command line toy can type 'lspci -v' to show the cards fitted and the IRQ settings etc...
Avatar of mescueta
mescueta

ASKER

there are no telephony cards installed. this is a pure voip solution, we are using SIP. there is also no transcoding all calls are g.711
Avatar of mescueta
mescueta

ASKER

I guess my real question is with the load average of 10 to 20 does this pose a problem to me or not?
Avatar of grblades
grblades
Flag of United Kingdom of Great Britain and Northern Ireland image

Load average by definition is the number of processes waiting for execution. A long term average of 15 does seem very high. Our Asterisk installation is close to 0.0 but has no simultaneous calls most of the time. Normally for example a load average over 8 would cause a mail server to stop accepting connections. Therefore I think there is something wrong.

nfsd is using about 40% of the cpu. Part of the system resource could be being used by the associated disk activity. Are you using nfs heavily?
Avatar of mescueta
mescueta

ASKER

Yes we are using nsf moderately i guess, we do around 100 simultaneous calls. Can i assume that at load average of 10 to 20, there can be potential problems with the asterisk even if the CPU utilization is only 50% at max.

ASKER CERTIFIED SOLUTION
Avatar of grblades
grblades
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Server Hardware
Server Hardware

Servers are computing devices that are similar to desktop computers in that they have the same basic components, but are significantly different in size, configuration and purpose. Servers are usually accessed over a network, and many run unattended, without a computer monitor, input device, audio hardware or USB interfaces. Many servers do not have a graphical user interface (GUI), and are configured and managed remotely. Servers typically include hardware redundancy such as dual power supplies, RAID disk systems, and ECC memory, along with extensive pre-boot memory testing and verification. Critical components might be hot swappable, and to guard against overheating, servers might have more powerful fans or use water cooling.

28K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo