[OpenSIPS-Users] 3.00 load avg

Dan Pascu dan at ag-projects.com
Sun Mar 15 05:00:25 CET 2009


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).

>
> Regards,
> Bogdan
>
> Jeff Pyle wrote:
> > Hello,
> >
> > Today I noticed Opensips is causing my machine to go to a load
> > average of 3.00, yet it’s 100% idle. I can’t figure out what’s
> > causing this or how both are possible. I’ve never encountered it
> > before.
> >
> > top - 12:35:45 up 16 days, 1:33, 3 users, load average: 3.00, 3.00,
> > 2.91 Tasks: 120 total, 2 running, 118 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
> >
> > When I stop Opensips, the load average drops to 0.00 or 0.01. If I
> > start Opensips again, even if it doesn’t process any calls, the load
> > average rises to 3.00 again.
> >
> > Does anyone have any suggestions on how I can diagnose the cause of
> > this?
> >
> >
> > Thanks,
> > Jeff
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> >---
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



-- 
Dan



More information about the Users mailing list