[OpenSIPS-Devel] [ opensips-Bugs-3542814 ] Lockup when using dialog pings

SourceForge.net noreply at sourceforge.net
Fri Jul 13 22:35:07 CEST 2012


Bugs item #3542814, was opened at 2012-07-11 16:22
Message generated for change (Comment added) made by rrb3942
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3542814&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.8.x
Status: Open
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Ryan Bullock (rrb3942)
Assigned to: Vladut-Stefan Paiu (vladut-paiu)
Summary: Lockup when using dialog pings

Initial Comment:
After enabling dialog pings on a fairly busy system facing the caller (via create_dialog("PB"))  I have experienced a couple instances where opensips locks up and stops processing messages. During this time CPU usage also sky rockets.

At debug=3 nothing interesting seems to show up in the logs.

Restarting opensips leaves it operational for awhile, but can lockup again. Removing the "P" option from create_dialog stops the lockups all together.

ping_interval was set to 60 seconds, timeout_avp is used and set in the script.

Seems like there might be a deadlock/livelock issue with the dialog pings.

Opensips build information:
version: opensips 1.8.0-notls (x86_64/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
svnrevision: 2:9084M
@(#) $Id: main.c 8772 2012-03-08 11:16:13Z bogdan_iancu $
main.c compiled on 14:07:51 Jun 13 2012 with gcc 4.4.6


Sorry if the details are light, but not much information was generated (logs stopped at the time of the lock as well), other than messages not being processed and high cpu usage.

----------------------------------------------------------------------

>Comment By: Ryan Bullock (rrb3942)
Date: 2012-07-13 13:35

Message:
Probably not useful, got a bt from a process but unfortunately gdb couldn't
load the debug symbols for opensips. Trying to figure why that is and will
try to catch it again and provide a better backtrace.

----------------------------------------------------------------------

Comment By: Vladut-Stefan Paiu (vladut-paiu)
Date: 2012-07-12 01:44

Message:
Hello,

When OpenSIPS get stuck again in 100% CPU, can you please get an OpenSIPS
PID that's stuck and do
      gdb [path_to_opensips_binary] [pid]
inside gdb do
      bt full
and paste here the output so I can further debug this.

Regards,
Vlad

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3542814&group_id=232389



More information about the Devel mailing list