[Asterisk-Users] Mutex problem in sip?

Martin Pycko martinp at digium.com
Fri Aug 1 12:28:03 MST 2003


It doesn't look like a problem. It's that when you have so many calls ...
execution of some piece of code protected by mutex takes longer so it
happens that some calls wait for their time ..... I guess if you have too
many of those messages you should disable them.

regards
Martin

On Thu, 31 Jul 2003, Alex Zarubin wrote:

> Hello,
>
> CVS 07/31/03. Test with 130+ PSTN-to-SIP calls. Asterisk gets locked ...
>
> grep -e "Error" -e "eventually" p-console
>
> chan_sip.c line 1453 (sip_alloc): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 1453 (sip_alloc): Got it eventually...
> chan_sip.c line 1453 (sip_alloc): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 1453 (sip_alloc): Got it eventually...
> chan_sip.c line 1453 (sip_alloc): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 1453 (sip_alloc): Got it eventually...
> chan_sip.c line 1453 (sip_alloc): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 1453 (sip_alloc): Got it eventually...
> chan_sip.c line 1453 (sip_alloc): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 1453 (sip_alloc): Got it eventually...
> chan_sip.c line 4980 (do_monitor): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 4980 (do_monitor): Got it eventually...
> chan_sip.c line 4980 (do_monitor): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 4980 (do_monitor): Got it eventually...
> chan_sip.c line 4980 (do_monitor): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 4980 (do_monitor): Got it eventually...
> chan_sip.c line 4980 (do_monitor): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 4980 (do_monitor): Got it eventually...
> chan_sip.c line 1453 (sip_alloc): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 1453 (sip_alloc): Got it eventually...
> chan_sip.c line 1453 (sip_alloc): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 1453 (sip_alloc): Got it eventually...
> chan_sip.c line 1453 (sip_alloc): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 1453 (sip_alloc): Got it eventually...
> chan_sip.c line 1453 (sip_alloc): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 1453 (sip_alloc): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 1453 (sip_alloc): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 1453 (sip_alloc): Got it eventually...
> chan_sip.c line 1453 (sip_alloc): Got it eventually...
> chan_sip.c line 1453 (sip_alloc): Got it eventually...
>
> .....
>
> chan_sip.c line 1453 (sip_alloc): Got it eventually...
> chan_sip.c line 4980 (do_monitor): Error obtaining mutex: Device or resource
> busy
> chan_sip.c line 4980 (do_monitor): Got it eventually...
> chan_sip.c line 948 (sip_hangup): Error obtaining mutex: Device or resource
> busy
> channel.c line 370 (ast_queue_frame): Error obtaining mutex: Device or
> resource busy
> chan_sip.c line 5044 (restart_monitor): Error obtaining mutex: Device or
> resource busy
> chan_sip.c line 5044 (restart_monitor): Error obtaining mutex: Device or
> resource busy
> chan_sip.c line 5044 (restart_monitor): Error obtaining mutex: Device or
> resource busy
> chan_sip.c line 5044 (restart_monitor): Error obtaining mutex: Device or
> resource busy
> chan_sip.c line 5044 (restart_monitor): Error obtaining mutex: Device or
> resource busy
> chan_sip.c line 5044 (restart_monitor): Error obtaining mutex: Device or
> resource busy
> chan_sip.c line 5044 (restart_monitor): Error obtaining mutex: Device or
> resource busy
> chan_sip.c line 5044 (restart_monitor): Error obtaining mutex: Device or
> resource busy
> chan_sip.c line 5044 (restart_monitor): Error obtaining mutex: Device or
> resource busy
> chan_sip.c line 5044 (restart_monitor): Error obtaining mutex: Device or
> resource busy
> chan_sip.c line 5044 (restart_monitor): Error obtaining mutex: Device or
> resource busy
> chan_sip.c line 5044 (restart_monitor): Error obtaining mutex: Device or
> resource busy
> chan_sip.c line 5044 (restart_monitor): Error obtaining mutex: Device or
> resource busy
> chan_sip.c line 5044 (restart_monitor): Error obtaining mutex: Device or
> resource busy
>
> Thank you.
>
> Alex Zarubin
> Webley Systems, Inc.
>
>
>




More information about the asterisk-users mailing list