[OpenSIPS-Users] OpenSIPs Crash on reporting delay.

2020-09-30 Thread Diptesh Patel
Hello,

My OpenSIPS crashed once in heavy load. I don't know the exact reason and
it does not usually happen. can you please suggest what is wrong with it?

Please find gdb backtrace in attachment. Let me know If you need anything
else.

version: opensips 2.4.1 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, 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, sigio_rt, select.
git revision: 5d042cffc
main.c compiled on 02:09:27 Feb 24 2020 with gcc 4.8.5

Thanks & Regards
*Diptesh Patel*
Software Developer
Ecosmob Technologies Ltd,
Ahmedabad
Mo:*+919898962659*

-- 
*Disclaimer*
In addition to generic Disclaimer which you have agreed on our 
website, any views or opinions presented in this email are solely those of 
the originator and do not necessarily represent those of the Company or its 
sister concerns. Any liability (in negligence, contract or otherwise) 
arising from any third party taking any action, or refraining from taking 
any action on the basis of any of the information contained in this email 
is hereby excluded.



*Confidentiality*
This communication (including any 
attachment/s) is intended only for the use of the addressee(s) and contains 
information that is PRIVILEGED AND CONFIDENTIAL. Unauthorized reading, 
dissemination, distribution, or copying of this communication is 
prohibited. Please inform originator if you have received it in error.



*Caution for viruses, malware etc.*
This communication, including any 
attachments, may not be free of viruses, trojans, similar or new 
contaminants/malware, interceptions or interference, and may not be 
compatible with your systems. You shall carry out virus/malware scanning on 
your own before opening any attachment to this e-mail. The sender of this 
e-mail and Company including its sister concerns shall not be liable for 
any damage that may incur to you as a result of viruses, incompleteness of 
this message, a delay in receipt of this message or any other computer 
problems. 
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-115.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/local/sbin/opensips...done.
[New LWP 13167]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/local/sbin/opensips -P 
/var/run/opensips/opensips.pid -f /usr/local/etc/op'.
Program terminated with signal 11, Segmentation fault.
#0  0x00462bbf in log_expiry (func_info=0x60fc5a "msg processing", 
tcp=0, dbg_len=1056, 
extra_dbg=0x89e5a0  "INVITE 
sip:6042352637@216.123.235.115:5060;user=phone SIP/2.0\r\nVia: SIP/2.0/UDP 
209.91.94.6:5060;branch=z9hG4bKketago30306suciqkm90.1\r\nFrom: \"PRABHJOT 
KAUR\", 
time_diff=60635)
at ut.h:1085
1085LM_WARN("#%i is a module action 
: %s - %dus - line %d\n",i+1,
Missing separate debuginfos, use: debuginfo-install 
MariaDB-shared-10.1.43-1.el7.centos.x86_64 glibc-2.17-292.el7.x86_64 
gmp-6.0.0-15.el7.x86_64 gnutls-3.3.29-9.el7_6.x86_64 
keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-37.el7_7.2.x86_64 
libcom_err-1.42.9-16.el7.x86_64 libffi-3.0.13-18.el7.x86_64 
libgcc-4.8.5-39.el7.x86_64 libgcrypt-1.5.3-14.el7.x86_64 
libgpg-error-1.12-3.el7.x86_64 libmicrohttpd-0.9.33-2.el7.x86_64 
librabbitmq-0.8.0-2.el7.x86_64 libselinux-2.5-14.1.el7.x86_64 
libstdc++-4.8.5-39.el7.x86_64 libtasn1-4.10-1.el7.x86_64 
libxml2-2.9.1-6.el7_2.3.x86_64 nettle-2.7.1-8.el7.x86_64 
openssl-libs-1.0.2k-19.el7.x86_64 p11-kit-0.23.5-3.el7.x86_64 
pcre-8.32-17.el7.x86_64 xz-libs-5.2.2-1.el7.x86_64 zlib-1.2.7-18.el7.x86_64
(gdb) bt full
#0  0x00462bbf in log_expiry (func_info=0x60fc5a "msg processing", 
tcp=0, dbg_len=1056, 
extra_dbg=0x89e5a0  "INVITE 
sip:6042352637@216.123.235.115:5060;user=phone SIP/2.0\r\nVia: SIP/2.0/UDP 
209.91.94.6:5060;branch=z9hG4bKketago30306suciqkm90.1\r\nFrom: \"PRABHJOT 
KAUR\", 
time_diff=60635)
at ut.h:1085
param = {s = 0x5f639328 , len = 
100387}
list = 
i = 0
func_str = {s = 0x60fca1 "source", len = 6}
time_str = {s = 0x63935d "time", len = 4}
extra_str = {s = 0x61a8a6 "extra", len = 5}
#1  receive_msg (
buf=0x89e5a0  "INVITE 
sip:6042352637@216.123.235.115:5060;user=phone SIP/2.0\r\nVia: SIP/2.0/UDP 
209.91.94.6:5060;branch=z9hG4bKketago30306suciqkm90.1\r\nFrom: \"PRABHJOT 
KAUR\", 
rcv_info=rcv_info@entry=0x7ffeb7285fa0, 
existing_context=existing_

Re: [OpenSIPS-Users] How to Solve 'Discarding fwd for a 6xx Transaction'?

2020-09-30 Thread Diptesh Patel
Hello,

Thank you Liviu and Ben for your response.

It's working fine for me. I know it is not recommended by RFC :)

Thanks & Regards
*Diptesh Patel*
Software Developer
Ecosmob Technologies Ltd,
Ahmedabad
Mo:*+919898962659*


On Fri, Sep 25, 2020 at 6:56 PM Ben Newlin  wrote:

> https://opensips.org/docs/modules/3.1.x/tm.html#param_disable_6xx_block
>
>
>
> Ben Newlin
>
>
>
> *From: *Users 
> *Date: *Friday, September 25, 2020 at 5:58 AM
> *To: *OpenSIPS users mailling list 
> *Subject: *[OpenSIPS-Users] How to Solve 'Discarding fwd for a 6xx
> Transaction'?
>
> Hello,
>
>
>
> I want to fail-over my call on 6xx response and I use failure route for
> that but t_relay() gives below errors and reply with '500 No destination
> available (18/SL)'.
>
>
>
> Sep 25 05:47:10 OLD-OVW-SBCA01 /usr/local/sbin/opensips[28174]:
> INFO:tm:t_forward_nonack: discarding fwd for a 6xx transaction
> Sep 25 05:47:10 OLD-OVW-SBCA01 /usr/local/sbin/opensips[28174]:
> ERROR:tm:w_t_relay: t_forward_nonack failed
>
>
>
> Anyone have an idea how I can resolve this?
>
>
>
>
>
> Thanks & Regards
>
> *Diptesh Patel*
>
> Software Developer
>
> Ecosmob Technologies Ltd,
>
> Ahmedabad
>
> Mo:*+919898962659*
>
>
>
> *Disclaimer*
>
> In addition to generic Disclaimer which you have agreed on our website,
> any views or opinions presented in this email are solely those of the
> originator and do not necessarily represent those of the Company or its
> sister concerns. Any liability (in negligence, contract or otherwise)
> arising from any third party taking any action, or refraining from taking
> any action on the basis of any of the information contained in this email
> is hereby excluded.
>
>
>
> *Confidentiality*
>
> This communication (including any attachment/s) is intended only for the
> use of the addressee(s) and contains information that is PRIVILEGED AND
> CONFIDENTIAL. Unauthorized reading, dissemination, distribution, or copying
> of this communication is prohibited. Please inform originator if you have
> received it in error.
>
>
>
> *Caution for viruses, malware etc.*
>
> This communication, including any attachments, may not be free of viruses,
> trojans, similar or new contaminants/malware, interceptions or
> interference, and may not be compatible with your systems. You shall carry
> out virus/malware scanning on your own before opening any attachment to
> this e-mail. The sender of this e-mail and Company including its sister
> concerns shall not be liable for any damage that may incur to you as a
> result of viruses, incompleteness of this message, a delay in receipt of
> this message or any other computer problems.
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

-- 
*Disclaimer*
In addition to generic Disclaimer which you have agreed on our 
website, any views or opinions presented in this email are solely those of 
the originator and do not necessarily represent those of the Company or its 
sister concerns. Any liability (in negligence, contract or otherwise) 
arising from any third party taking any action, or refraining from taking 
any action on the basis of any of the information contained in this email 
is hereby excluded.



*Confidentiality*
This communication (including any 
attachment/s) is intended only for the use of the addressee(s) and contains 
information that is PRIVILEGED AND CONFIDENTIAL. Unauthorized reading, 
dissemination, distribution, or copying of this communication is 
prohibited. Please inform originator if you have received it in error.



*Caution for viruses, malware etc.*
This communication, including any 
attachments, may not be free of viruses, trojans, similar or new 
contaminants/malware, interceptions or interference, and may not be 
compatible with your systems. You shall carry out virus/malware scanning on 
your own before opening any attachment to this e-mail. The sender of this 
e-mail and Company including its sister concerns shall not be liable for 
any damage that may incur to you as a result of viruses, incompleteness of 
this message, a delay in receipt of this message or any other computer 
problems. 
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users