Very critical: Memory leak in freeradius-1.1.6

Alan DeKok aland at deployingradius.com
Fri May 18 14:18:46 CEST 2007


nikitha george wrote:
> I am seeing a very serious memory leak issue with freeradius-1.1.6. The
> memory usage of freeradius gone from 3386Byte to 64MB when i was trying
> to connect 16 clients with roaming interval of 1 second. More
> Access-Requests are coming and we keep saving those requests until
> cleanup_delay.

  Yes... that's how the server is supposed to work.

> After my initial investigation in the souce code,  we keep cleaning the
> requests only if the select() fails,

  No.  It cleans the requests after it's examined all of the sockets for
data.

> which means no more request to
> handle. But in my case the clients are keep sending the request i think
> the cached request_list is not cleared properly or misses out some
> requests or something happens i guess. I may be wrong too, so please let
> me know what could be the root cause.

  No.  People are running the server with sustain loads of 100's of
packets per second.  There is no memory leak like you say.

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



More information about the Freeradius-Users mailing list