num_sql_socks

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Wed Sep 20 21:40:49 CEST 2006


Hi,
> In the tuning guide, where it states "Tune the num_sql_socks to be larger than the number
> of simultaneous authentication/accounting requests" does this mean if I have 6700 user
> accounts, I would want to set the num_sql_socks to be larger than that since it is
> possible that all will try to connect at one time, say given, a network
> outage/reinstatement?

it means set it to be as many requests as you let FreeRADIUS deal with
max_servers is involved here - as is max_requests. if you have a maximum
of 32 freeradius threads dealing with requests then you really need
that number of SQL connections...or the SQL is your bottle-neck

alan



More information about the Freeradius-Users mailing list