[OpenSIPS-Users] sched_yield()

Andrei Dragus adragus at opensips.org
Wed Jan 20 12:04:37 CET 2010


Hi Alex,

Are you building OpenSIPS from source?
How many processes do you have and on how many cores?


Alex Massover wrote:
>
> Hello!
>
> I’m facing a strange problem, sometimes under a stress OpenSIPS 
> “locks” - load average jumps, SIP processing delays, opensips msg 
> queue fills with a lot of sip messages, opensips processes start to 
> comsume a lot of CPU.
>
> And strace shows:
>
> sched_yield()
>
> sched_yield()
>
> sched_yield()
>
> sched_yield()
>
> ….
>
> for all processes.
>
> If I stop the stress – after a while (not immediately) – it unlocks, 
> also suddenly, I can see in top that all opensips processes stop to 
> consume CPU.
>
> What can it be? Some kind of starvation?
>
> --
>
> Best Regards,
>
> Alex Massover
>
> VoIP R&D TL
>
> Jajah Inc.
>
>
>
> This mail was sent via Mail-SeCure System.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   

-- 
Andrei Dragus
www.voice-system.ro 




More information about the Users mailing list