[OpenSIPS-Users] 3.00 load avg

Jeff Pyle jpyle at fidelityvoice.com
Mon Mar 16 12:45:57 CET 2009


Dan,

# netstat -pan | grep opensips
udp        0      0 ww.xx.yy.zz:5060            0.0.0.0:*
13788/opensips     
unix  2      [ ]         DGRAM                    31333  13821/opensips
/tmp/opensips.sock
unix  3      [ ]         STREAM     CONNECTED     31355  13788/opensips
unix  2      [ ]         STREAM     CONNECTED     31353  13788/opensips
unix  2      [ ]         STREAM     CONNECTED     31351  13829/opensips
unix  2      [ ]         STREAM     CONNECTED     31348  13827/opensips
unix  2      [ ]         STREAM     CONNECTED     31346  13825/opensips
unix  2      [ ]         STREAM     CONNECTED     31344  13823/opensips
unix  2      [ ]         STREAM     CONNECTED     31342  13821/opensips
unix  3      [ ]         STREAM     CONNECTED     31338  13817/opensips
unix  2      [ ]         DGRAM                    31337  13821/opensips
unix  2      [ ]         STREAM     CONNECTED     31335  13817/opensips
unix  2      [ ]         STREAM     CONNECTED     31331  13817/opensips
unix  3      [ ]         STREAM     CONNECTED     31328  13814/opensips
unix  2      [ ]         STREAM     CONNECTED     31326  13814/opensips
unix  2      [ ]         STREAM     CONNECTED     31324  13814/opensips
unix  3      [ ]         STREAM     CONNECTED     31320  13811/opensips
unix  2      [ ]         STREAM     CONNECTED     31318  13811/opensips
unix  2      [ ]         STREAM     CONNECTED     31316  13811/opensips
unix  3      [ ]         STREAM     CONNECTED     31312  13807/opensips
unix  2      [ ]         STREAM     CONNECTED     31310  13807/opensips
unix  2      [ ]         STREAM     CONNECTED     31308  13807/opensips
unix  3      [ ]         STREAM     CONNECTED     31303  13803/opensips
unix  3      [ ]         STREAM     CONNECTED     31301  13801/opensips
unix  2      [ ]         STREAM     CONNECTED     31298  13803/opensips
unix  3      [ ]         STREAM     CONNECTED     31295  13798/opensips
unix  2      [ ]         STREAM     CONNECTED     31291  13803/opensips
unix  2      [ ]         STREAM     CONNECTED     31289  13801/opensips
unix  3      [ ]         STREAM     CONNECTED     31288  13794/opensips
unix  2      [ ]         STREAM     CONNECTED     31287  13798/opensips
unix  2      [ ]         STREAM     CONNECTED     31285  13794/opensips
unix  2      [ ]         STREAM     CONNECTED     31283  13801/opensips
unix  3      [ ]         STREAM     CONNECTED     31279  13795/opensips
unix  2      [ ]         STREAM     CONNECTED     31277  13798/opensips
unix  2      [ ]         STREAM     CONNECTED     31275  13795/opensips
unix  2      [ ]         STREAM     CONNECTED     31273  13795/opensips
unix  2      [ ]         STREAM     CONNECTED     31271  13794/opensips
unix  2      [ ]         DGRAM                    31257  13788/opensips
unix  2      [ ]         DGRAM                    31256  13788/opensips


top - 07:42:58 up 2 days, 16:38,  1 user,  load average: 3.00, 3.00, 3.00
Tasks: 108 total,   2 running, 106 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st

This is a CentOS i386 xen VM, running on CentOS i386.  The physical machine
has 8 processing cores, and the virtual has 4.

I've been keeping fairly up to date from SVN.  I'd say this problem appeared
maybe a week or so ago but I'm not certain on the exact rev number.


- Jeff





On 3/15/09 12:00 AM, "Dan Pascu" <dan at ag-projects.com> wrote:

> On Friday 13 March 2009, Bogdan-Andrei Iancu wrote:
>> Hi Jeff,
>> 
>> A simple google on the topic "top command load average"
>> 
>> http://www.teamquest.com/resources/gunther/display/5/
>> 
>> See starting with section 2.2
>> 
>> Shortly, is about the number of processes in your case.
> 
> It's the number of _active_ processes. Or to be more precise it's the
> number of processes waiting in the queue to get scheduled to execute on
> the CPU. You cannot get a 3.0 load average with all processes being idle,
> so something is definitely abnormal. You need 3 processes loaded at 100%
> to reach a load average of 3.0 (with 1 CPU).
> 
> But I'm curious if opensips can really trigger this, or is just a glitch
> in the OS reporting the load average?
> 
> An interesting piece of information would be to know if the opensips
> processes have any incoming/outgoing network queues (seen with
> netstat -pan | grep opensips).
> 




More information about the Users mailing list