[SR-Users] Question about CPU

Ricardo Martinez rmartinez at redvoiss.net
Tue Sep 25 23:49:48 CEST 2012


Hello.

Is normal this output from the “top” command?!

I have a kamailio with 16 children receiving calls at rate of 30cps and
using the dialog module to timeout the calls :



This is the top command :

Tasks: 168 total,   2 running, 166 sleeping,   0 stopped,   0 zombie

Cpu0  : 56.0%us,  0.7%sy,  0.0%ni, 43.4%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st

Cpu1  :  6.3%us,  3.0%sy,  0.0%ni, 87.8%id,  0.0%wa,  0.7%hi,  2.3%si,
0.0%st

Cpu2  :  0.3%us,  0.3%sy,  0.0%ni, 99.3%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st

Cpu3  :  0.7%us,  0.3%sy,  0.0%ni, 99.0%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st

Mem:   3924912k total,   535700k used,  3389212k free,    20236k buffers

Swap:  6291448k total,        0k used,  6291448k free,   226120k cached



  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
COMMAND

 *2566 root      20   0 1163m  27m  23m R 56.2  0.7   2:08.32
kamailio                                                               *

 1103 root      20   0  249m 1656  924 S  2.7  0.0   1:32.89
rsyslogd

 2525 root      20   0 1163m  27m  23m S  0.7  0.7   0:02.93
kamailio

 2527 root      20   0 1163m  27m  23m S  0.7  0.7   0:03.11
kamailio

 2528 root      20   0 1163m  27m  23m S  0.7  0.7   0:02.89
kamailio

 2529 root      20   0 1163m  27m  23m S  0.7  0.7   0:03.13
kamailio

 2535 root      20   0 1163m  27m  23m S  0.7  0.7   0:02.86
kamailio

 2537 root      20   0 1163m  27m  23m S  0.7  0.7   0:02.85
kamailio

 2538 root      20   0 1163m  27m  23m S  0.7  0.7   0:03.17
kamailio

 2541 root      20   0 1163m  27m  23m S  0.7  0.7   0:02.91
kamailio

 2542 root      20   0 1163m  27m  23m S  0.7  0.7   0:03.07
kamailio

 2543 root      20   0 1163m  27m  23m S  0.7  0.7   0:03.12
kamailio

 2544 root      20   0 1163m  27m  23m S  0.7  0.7   0:02.64
kamailio

 2549 root      20   0 1163m  27m  23m S  0.7  0.7   0:03.10
kamailio

 2551 root      20   0 1163m  27m  23m S  0.7  0.7   0:03.14 kamailio


 2552 root      20   0 1163m  27m  23m S  0.7  0.7   0:03.00
kamailio

 2495 root      20   0 15088 1240  900 R  0.3  0.0   0:04.10
top

 2526 root      20   0 1163m  27m  23m S  0.3  0.7   0:02.83
kamailio

 2532 root      20   0 1163m  27m  23m S  0.3  0.7   0:02.87
kamailio

    1 root      20   0 19396 1500 1192 S  0.0  0.0   0:02.86
init

    2 root      20   0     0    0    0 S  0.0  0.0   0:00.01
kthreadd

    3 root      RT   0     0    0    0 S  0.0  0.0   0:00.00
migration/0

    4 root      20   0     0    0    0 S  0.0  0.0   0:00.00
ksoftirqd/0

    5 root      RT   0     0    0    0 S  0.0  0.0   0:00.00
migration/0

    6 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/0



The question is : I always see the process PID : 2566 using more CPU than
the rest of the childrens.

Is this normal?



Regards,

Ricardo Martinez-.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120925/2604a121/attachment-0001.htm>


More information about the sr-users mailing list