[OpenSIPS-Users] Opensips and memory errors

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Jan 30 19:46:24 CET 2013


OK, cool :)

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


On 01/30/2013 08:04 PM, Chris Stone wrote:
> Have it all running under 1.8.2 now. Most of the script conversion was 
> pretty straightforward. Only thing that gave me fits for awhile was 
> the $avp() referencing back in the opensips.cfg script to access data 
> set by my perl script. Finally got it though and seems to be working.
>
>
> Thanks
>
>
> Chris
>
>
> On Wed, Jan 30, 2013 at 8:58 AM, Bogdan-Andrei Iancu 
> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>
>     Hi Chris,
>
>     The t_release() usage depends on the scenario - this function
>     makes sense only when dealing with transactions which were neither
>     fwd, nor replied from script. So, some corner cases.
>
>     Go for 1.8, it will definitely make your day - if you need help
>     with migrating your script, feel free to post on the mailing list.
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>     OpenSIPS Founder and Developer
>     http://www.opensips-solutions.com
>
>
>     On 01/25/2013 07:34 PM, Chris Stone wrote:
>>     Bogdan-Andrei,
>>
>>     Thanks - will look over that document.
>>
>>     I have added tm_release() calls to the exit parts of my
>>     opensips.cfg script. I see that was removed in 1.5, but in 1.4, I
>>     should be using that correct?
>>
>>     I did try and upgrade a while back to a 1.6 version, but it
>>     crashed and burned on my opensips.cfg script and I've just not
>>     had time to go through it and get it converted to work under 1.6.
>>     Guess I may need to move that up on the list though....
>>
>>
>>     Chris
>>
>>
>>
>>     On Fri, Jan 25, 2013 at 5:55 AM, Bogdan-Andrei Iancu
>>     <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>>
>>         Hi Chris,
>>
>>         First, 1.4 is a really old version, witch is not maintained
>>         any more. I strongly suggest to upgrade one of the maintained
>>         versions. Otherwise, you cannot benefit of all fixes which
>>         were done in the mean time.
>>
>>         Now, on how to troubleshoot this problem, see:
>>         http://www.opensips.org/Resources/DocsTsMem
>>
>>         If you need assistance, let me know.
>>
>>         Regards,
>>
>>         Bogdan-Andrei Iancu
>>         OpenSIPS Founder and Developer
>>         http://www.opensips-solutions.com
>>
>>
>>         On 01/24/2013 07:09 PM, Chris Stone wrote:
>>>         Started getting some errors last night from Opensips:
>>>
>>>         Jan 23 19:19:01 mars /sbin/opensips[23215]: ORIGINAL-INVITE
>>>         [method=INVITE, from=sip:Unavailable at 10.10.10.174
>>>         <mailto:sip%3AUnavailable at 10.10.10.174>,
>>>         to=sip:18885551212 at 10.10.10.178
>>>         <mailto:sip%3A18885551212 at 10.10.10.178>, src_ip=10.10.10.174]
>>>         Jan 23 19:19:01 mars /sbin/opensips[23215]:
>>>         INFO:core:XS_OpenSIPS__Message_log: SQL query did not find
>>>         the phone number 8885551212 <tel:8885551212> - default
>>>         routing in effect.
>>>         Jan 23 19:19:01 mars /sbin/opensips[23215]:
>>>         ERROR:core:add_avp: no more shm mem
>>>         Jan 23 19:19:01 mars /sbin/opensips[23215]: <INVITE> from
>>>         <sip:Unavailable at 10.10.10.174
>>>         <mailto:sip%3AUnavailable at 10.10.10.174>> to
>>>         <sip:18885551212 at 10.10.10.178
>>>         <mailto:sip%3A18885551212 at 10.10.10.178>> r-uri
>>>         <sip:+18885551212 at 10.0.157.10:5060
>>>         <http://sip:+18885551212@10.0.157.10:5060>> src_ip
>>>         <10.10.10.174> => Unable to locate a working gateway to send
>>>         call to.
>>>         Jan 23 19:19:01 mars /sbin/opensips[23215]:
>>>         ERROR:tm:w_t_reply: failed to send a t_reply to a message
>>>         for which no transaction-state has been established
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:tm:new_dlg_uac: No memory left
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:tm:req_outside: failed to create new dialog
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:dispatcher:ds_check_timer: unable to execute dialog
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:tm:new_dlg_uac: No memory left
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:tm:req_outside: failed to create new dialog
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:dispatcher:ds_check_timer: unable to execute dialog
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:tm:new_dlg_uac: No memory left
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:tm:req_outside: failed to create new dialog
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:dispatcher:ds_check_timer: unable to execute dialog
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:tm:new_dlg_uac: No memory left
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:tm:req_outside: failed to create new dialog
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:dispatcher:ds_check_timer: unable to execute dialog
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:tm:new_dlg_uac: No memory left
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:tm:req_outside: failed to create new dialog
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:dispatcher:ds_check_timer: unable to execute dialog
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:tm:new_dlg_uac: No memory left
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:tm:req_outside: failed to create new dialog
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:dispatcher:ds_check_timer: unable to execute dialog
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:tm:new_dlg_uac: No memory left
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:tm:req_outside: failed to create new dialog
>>>         Jan 23 19:19:02 mars /sbin/opensips[23240]:
>>>         ERROR:dispatcher:ds_check_timer: unable to execute dialog
>>>
>>>
>>>         We are running:
>>>
>>>         version: opensips 1.4.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: unknown
>>>         @(#) $Id: main.c 4504 2008-07-29 09:55:03Z bogdan_iancu $
>>>         main.c compiled on 18:29:29 Aug 31 2012 with gcc 4.1.2
>>>
>>>         Using Opensips as simply a SIP proxy relaying calls -
>>>         handles no media.
>>>
>>>         Is there some memory cleanup work I should be doing in my
>>>         script maybe? Any suggestions would be greatly appreciated.
>>>
>>>
>>>         Chris
>>>
>>>
>>>         _______________________________________________
>>>         Users mailing list
>>>         Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>>     -- 
>>     Chris Stone
>>     AxisInternet, Inc.
>>     www.axint.net <http://www.axint.net>
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> -- 
> Chris Stone
> AxisInternet, Inc.
> www.axint.net <http://www.axint.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130130/53d99b5c/attachment-0001.htm>


More information about the Users mailing list