<span class="gmail_quote">On 5/20/07, <b class="gmail_sendername">Alan DeKok</b> <<a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a>> wrote:<br>>>> </span>If valgrind doesn't say that the memory is lost, then the memory is
<br>very likely still being used. i.e. It's likely needed for something.<br><br>something..? <br>Why do radiusd need to hold the memory even after cleaning up the request? Even after stopping the request, the memory never gets freed. Why is this strange result of huge memory usage by radiusd?
<br><br><br><div><span class="gmail_quote">On 5/20/07, <b class="gmail_sendername">Alan DeKok</b> <<a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
nikitha george wrote:<br>> The memory usage of radiusd in our system went from 6687KB to 160MB<br>> which is 50.1% of memory of our system and radiusd got re-started.<br><br> 160Mb does sound like a lot.<br><br>> I had run the Valgrind to see the resource leak. Definitely lost memory
<br>> was 380 Bytes but still reachable are more. I think this is the one<br>> which is leaking memory. I dont have access to the log files today, i<br>> will post it by tomorrow for your reference.<br><br> The 380 bytes "definitely lost" is from libltdl. It contributed
<br>almost nothing to the 160M total memory used by the server.<br><br> If valgrind doesn't say that the memory is lost, then the memory is<br>very likely still being used. i.e. It's likely needed for something.
<br><br> Alan DeKok.<br>--<br> <a href="http://deployingradius.com">http://deployingradius.com</a> - The web site of the book<br> <a href="http://deployingradius.com/blog/">http://deployingradius.com/blog/</a> - The blog
<br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a><br></blockquote></div><br>