forgive my lack of knowledge but I am new to this topic and there are a few concepts that elude me.
When I view the radius logs in my server I get the following information:
root@pabx:~# tail -f /var/log/freeradius/radius.log
Tue Jun 8 17:21:27 2021 : Info: rlm_sql (sql): Opening additional connection (49), 1 of 32 pending slots used
Tue Jun 8 17:21:27 2021 : Info: Need 2 more connections to reach min connections (3)
Tue Jun 8 17:21:27 2021 : Info: rlm_sql (sql): Opening additional connection (50), 1 of 31 pending slots used
Tue Jun 8 17:25:49 2021 : Info: rlm_sql (sql): Closing connection (49): Hit idle_timeout, was idle for 262 seconds
Tue Jun 8 17:25:49 2021 : Info: rlm_sql (sql): Closing connection (50): Hit idle_timeout, was idle for 262 seconds
Tue Jun 8 17:25:49 2021 : Info: rlm_sql (sql): Opening additional connection (51), 1 of 32 pending slots used
Tue Jun 8 17:25:49 2021 : Info: Need 2 more connections to reach min connections (3)
Tue Jun 8 17:25:49 2021 : Info: rlm_sql (sql): Opening additional connection (52), 1 of 31 pending slots used
Tue Jun 8 17:25:50 2021 : Info: Need 1 more connections to reach min connections (3)
Tue Jun 8 17:25:50 2021 : Info: rlm_sql (sql): Opening additional connection (53), 1 of 30 pending slots used
I don't know in which part of the configuration this is modified and what it is necessary for. In my case I only need a maximum of 4 connections to the database.
If someone could advise me about the best way to configure the rlm_sql module I would appreciate it.
I would also like to know if this poses any risk to the correct functioning of radius, hence my insistence on configuring it in the most efficient way.
Thanks