[OpenSIPS-Users] opensips 1.6.4-2 and dlg_end_dlg

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Dec 19 08:16:45 CET 2012


Try to set debug=4 and see the logs from the MI fifo process when 
running the dlg_end_dlg command.

Also, try the get a backtrace from the MO FIFO proc after blocking. For 
that, before the dlg command, do "opensipsctl fifo ps" to find out the 
PID of the FIFO process.
After running the dlg command and blocking, use "gdb /path/to/opensips 
FIFO_PID" and run "bt" inside - these will give some ideas on where the 
process blocked.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 12/19/2012 10:07 AM, dpa wrote:
>
> «So only the MI fifo part blocks?»
>
> As I understand, yes.
>
> "do you see any errors in the logs?"
>
> I see only "INFO:core:buf_init: initializing..." in log file
>
> "also, does it recover after some time (like minutes) ?"
>
> To speak the truth I didn`t wait recovering. I used Ctrl+Z to stop 
> process of dlg_end_dlg and tried another fifo command. ps --A show me 
> that opensipsctl process appears.
>
> *From:*Bogdan-Andrei Iancu [mailto:bogdan at opensips.org]
> *Sent:* Wednesday, December 19, 2012 9:44 AM
> *To:* dpa
> *Cc:* 'OpenSIPS users mailling list'
> *Subject:* Re: [OpenSIPS-Users] opensips 1.6.4-2 and dlg_end_dlg
>
> So only the MI fifo part blocks ? do you see any errors in the logs? 
> also, does it recover after some time (like minutes) ?
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
>
> On 12/19/2012 09:42 AM, dpa wrote:
>
> Hello Bogdan
>
> "it simply blocks and does not answer"
>
> I can make calls. But no fifo command available.
>
> *From:*Bogdan-Andrei Iancu [mailto:bogdan at opensips.org]
> *Sent:* Wednesday, December 19, 2012 9:39 AM
> *To:* OpenSIPS users mailling list
> *Cc:* dpa
> *Subject:* Re: [OpenSIPS-Users] opensips 1.6.4-2 and dlg_end_dlg
>
> Hi,
>
> Does your opensips actually crashes when you run the dlg_end_dlg 
> command ? or it simply blocks and does not answer ?
>
> Regards,
>
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
>
> On 12/19/2012 07:37 AM, dpa wrote:
>
> Hello!
>
> I discovered a problem with using dlg_end_dlg fifo command.
>
> When I try to make it, dialog hasn't been ended and I cannot see in 
> console that command has been finished success. In /tmp directory 
> (where opensips_fifo is located) I found some new files 
> "opensips_receiver_xxxxx", where xxxxx -- some numbers. Ls --la shows 
> that files were generated when I make dlg_end_dlg command.
>
> Moreover after this I cannot make any fifo command.
>
> After opensips restart I can make any fifo command but until dlg_end_dlg.
>
> There were no problems with it but recently I decided to make opensips 
> generates core file if it crashes.
>
> I use this documentation http://www.opensips.org/Resources/DocsTsCrash.
>
> I used  "--w" option and make changes in 
> "/proc/sys/kernel/core_pattern". May be some problems with it?
>
> Thank you for any help!
>
>   
>   
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121219/3c2ab0fe/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 906 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20121219/3c2ab0fe/attachment-0001.gif>


More information about the Users mailing list