Freeradius-Devel Digest, Vol 20, Issue 4

Abdul Qadir ablqadir at yahoo.com
Fri Dec 8 03:40:39 CET 2006


Hi,

>The server caches requests and responses for a time, so if you kill
> the server immediately after a response is sent, there may be many
> requests and responses still in memory.

This thing is very nice that server is doing caching. But i think its still server's responsibilty to release all memory even the cache memroy at time of exit.


>If you leave the server running, does it's total memory use grow over
> time?  If not, there's probably no memory leak.

Yes the memory keeps on growing, otherwise y I would be looking into Valgrind logs and trying to find out whats wrong with the server. And this leak becomes very clear when the number of requests become greater.


Best Regards,
Abdul Qadir

-----------------------------

Message: 6
Date: Thu, 07 Dec 2006 18:19:52 -0800
From: Alan DeKok 
Subject: Re: FreeRadius 1.1.3 Memory Leak
To: FreeRadius developers mailing list
 
Message-ID: <4578CBC8.1030907 at deployingradius.com>
Content-Type: text/plain; charset=ISO-8859-1

Abdul Qadir wrote:

> Actually the problem is why this keeps on grwoing. If i start the
> process and exit it the statistics are different If i send some
> authentication request, the memory which is not freed by the process at
> exit keeps on growing. Is there any solution for this.  Please see the
> difference below.

  The server caches requests and responses for a time, so if you kill
the server immediately after a response is sent, there may be many
requests and responses still in memory.

  i.e. memory *lost* while it is running is bad.  Slow memory growth
over time is bad.  The problems you're seeing are likely unimportant.

  If you leave the server running, does it's total memory use grow over
time?  If not, there's probably no memory leak.

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog


------------------------------

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html


End of Freeradius-Devel Digest, Vol 20, Issue 4
***********************************************


 
---------------------------------
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20061207/3b31522a/attachment.html>


More information about the Freeradius-Devel mailing list