On 09/21/2010 09:18 AM, Marius Zbihlei wrote:
Hello
Can you give us more information on the modules you are loading/ your specific
config ?
Marius
Also, is it shared memory or private memory? If you have a dump of the
memory distribution, can you spot anything out of the ordinary. As a tip
look for functions in the ending part of the dump that repeat for
multiple times. The lower offset is usually alloc'ed during module
initialization so any big leak will happen at higher offsets (I don't
know if this is the rule but this is what I observed).
Have you tried increasing the memory pool?
Cheers
Marius
________________________________________
From: sr-users-boun...@lists.sip-router.org
[sr-users-boun...@lists.sip-router.org] On Behalf Of Santiago Soares
[santiagosoa...@gmail.com]
Sent: Monday, September 20, 2010 9:21 PM
To: SR-Users; us...@lists.kamailio.org
Subject: [SR-Users] Memory leak
Hello,
We use Kamailio as a stateless load balancer.
It runs on a VM, with 512 MB RAM, and it seems to have some kind of memory leak.
The kamailio processes consume all available memory, until Kamailio crashes and
restart.
This occurs about once a day.
Since it's stateless, and the restart is very fast, it's not a big deal, but
I'd like to fix it.
The strange thing is that I updated kamailio from 1.5.3 to 3.0.3 and the
problem still ocurrs.
I followed the instructions on
http://www.kamailio.org/dokuwiki/doku.php/troubleshooting:memory in order to
determine the cause, and stopped the traffic on the proxy. The allocated memory
were not freed, after 1 hour the amount of free memory is still the same.
Anybody has an ideia about what's happening, or how can I debug it?
Thank you!
Santiago Soares
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users