2010/4/7 Daniel-Constantin Mierla miconda@gmail.com:
It's Kamailio 1.5.1-notls. Now I've compiled 1.5.4-notls and increased PKG memory to 16.
if I spot it right on the svn commit log, there was a fix for a leak related to dst_uri when changed from failure route, nothing else important.
Hi, after upgrading to kamailio 1.5.4 (before I used 1.5.1) I haven't experimented the memory leak anymore (even if the traffic is being increased each day). PKG MEM remains constant for all the processes (I check it every 5 minutes):
kamailio[11770]: used= 190936, used+overhead=250712, free=16526504 kamailio[11770]: max used (+overhead)= 258520 kamailio[11758]: used= 191176, used+overhead=250648, free=16526568 kamailio[11758]: max used (+overhead)= 257864
Yes, setting 16 MB per process is a terrible ammount of memory, I just set it in order to hold up a possible memory leak.
Note however that I don't use "hostname" column in LCR gw table, so next_gw() doesn't set dst_uri in failure_route (the fixed memory leak). Then it's unclear the reason of the PKG memory congestion I issued past week using 1.5.1. I'll continue checking it.
Regards.