freeRadius leaking memory

Alan DeKok aland at deployingradius.com
Thu Feb 1 15:56:37 CET 2018


On Feb 1, 2018, at 8:56 AM, Nicolas Reich <nicolas.reich at switch.ch> wrote:
> 
> Hi,
> 
> I'm running some tests on the freeRadius server I'm working on (which uses only EAP-TLS) to see what sort of load it can handle, and to tune the configuration accordingly. Doing this, I've noticed that the memory used by the radiusd process continually increases, until the system is out of memory, a clear sign of memory leaking. So I kept experimenting and I got quite sure there is some memory leaking. So I tried with Valgrind, and here's what I got after 1 minute (approximately 75 access requests):

  Hmm... I don't see that here.  Maybe try the v3.0.x head, which has a number of fixes.

> I am unsure on how to proceed next though. Any advice? Could it be a misconfiguration?

  No misconfiguration should case it to leak memory.

> Could it be a problem in OpenSSL? 

  No, it's definitely in our code.

  Alan DeKok.




More information about the Freeradius-Users mailing list