[OpenSIPS-Users] Opensips and memory errors

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Jan 25 13:55:06 CET 2013


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 - 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
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130125/6ede3db3/attachment.htm>


More information about the Users mailing list