Hard coding number of radius process.

Юрий Иванов format_hub at outlook.com
Tue Jun 8 15:31:42 CEST 2021


Hi,
I've written rlm_perl module which works.
I have some thoughts and want to ask what do you think.

My perl module using threads (for sharing variables) and threaded perl is more slower as we all know (Maybe its better idea to use IPC pipes btw).
FreeRadius has thread pool section where number of processes can be controlled

What do you think if I set start_servers = 64 and max_servers = 64?
As I understand now radius will start 64 process at start time and in this case all my rlm_perl processes will not share state but looks like it will not needed because overall number of processes will be eq to 64 and not die and will not lost data.
FreeRADIUS because tries will not to maintain servers to handle the current load.

Thanks for your thoughts


More information about the Freeradius-Users mailing list