Hi Ryan,

On 16.11.2010, at 18:17, thrillerbee wrote:

> John,
> 
> I appreciate the suggestion, but, unfortunately, I don't use t_newtran().  
> What led you to remove that?

Hm, sorry…

I was removing some functions from my opensips.cfg, then running various stress 
tests (REGISTER, INVITE etc.) and watching resident memory usage graph.

Starting with 6.11.2010 (12:00) opensips working without t_newtrans() and 
everything fine:
http://dev.sgu.ru/pub/without_tnewtrans.png (kKb == MB)

Btw, now I use localcache for handling sip-request retransmits. With localcache 
resident memory usage also increases, but OpenSIPS does not crash…

> On Tue, Nov 16, 2010 at 9:08 AM, John Khvatov <iva...@gmail.com> wrote:
> Hello.
> 
> On 10.11.2010, at 19:19, thrillerbee wrote:
>> Well, I spoke too soon - it's not just an issue with the opensipsctl fifo 
>> calls - looks more like a memory leak.  It crashed again today, but I did 
>> get some errors in the syslog this time right before the crash:
>> Nov 10 15:42:32 core1 /usr/local/sbin/opensips[27044]: 
>> ERROR:db_flatstore:new_flat_id: no pkg memory left
>> Nov 10 15:42:32 core1 kernel: [5508366.582447] opensips[27044]: segfault at 
>> 10 ip 7fa7ff74c21f sp 7fffdc101700 error 4 in 
>> db_flatstore.so[7fa7ff749000+5000]
>> To be thorough, I've attached the backtrace & output from print commands 
>> (although they're the same as before).
> 
> I have the same issue. OpenSIPS crashes at db_flatstore.so due to lack of 
> memory (according resident memory usage graph). Recently I removed the use of 
> the t_newtran() function and localstore module in opensips.cfg and crash did 
> not happens for 11 days. Earlier crash happens every two-tree days.
> 
> Do you use t_newtran() in your config?
> 
> -- 
> WBR, John Khvatov
> 
> 
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-- 
WBR, John Khvatov


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to