[OpenSIPS-Users] Memory leak

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Jan 20 11:13:33 CET 2011


Hi Duane,

with
       mem_log=10
       mem_dump=1
       debug=3

do you see at runtime any logs related to memory ?? (alloc, dealloc 
logs, no error) . Normally you shouldn't see any....only when a me dump 
is done (at shutdown for example).

Regards,
Bogdan

Duane Larson wrote:
> I am trying to stress test my opensips config with SIPP but was seeing 
> that after running it for a while I would start getting failed calls 
> and eventually opensips would die.  I recompiled opensips by following
>
> http://www.opensips.org/Resources/DocsTsMem
>
> I also added the following to the config
>        mem_log=10
>        mem_dump=1
>        debug=3
>
>
> Now when I try and start OpenSIPS it dumps a TON of stuff to syslog.  
> I do a ps -ef and there is one opensips process running for a while 
> and then it dies.  Before I started opensips my memory was at about
> 1500000k
> then when I started opensips it started going down to
> 1400000k
>
> When the single opensips process finally dies the memory never comes 
> back.  I am not sure what I need to do next in order to find out where 
> the issue is.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Event - expo, conf, social, bootcamp
2 - 4 February 2011, ITExpo, Miami,  USA
OpenSIPS solutions and "know-how"




More information about the Users mailing list