Tuning freeradius memory usage for small footprint machines

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu May 23 00:33:05 UTC 2024



> On May 22, 2024, at 18:34, Alan DeKok <aland at deployingradius.com> wrote:
> 
> On May 22, 2024, at 6:23 PM, Peter Thomas (pethoma2) via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
>> 
>> I'm working on setting up FreeRADIUS on some pretty small servers with limited memory. I was wondering if anyone here has tips or tricks for reducing the memory footprint of FreeRADIUS. Are there any config tweaks to lower memory usage?  I am running version 3.2.3 and the servers have about 256MB of RAM.
> 
>  Compared to things like browsers, FreeRADIUS use zero memory.
> 
>  The main way to lower memory is to disable all modules which aren't being used.  After that, all of the memory is being used for the functionality you need.

--without-openssl would probably help too, otherwise, yes, most of the optional memory usage is in the modules, which are only loaded when they're explicitly enabled.

-Arran



More information about the Freeradius-Users mailing list