<div><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS','sans-serif'">Hi All,</span></div>
<div><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS','sans-serif'">I'm using freeradius2.1.6 with buffered-sql module.</span></div>
<div><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS','sans-serif'">Please advice on threading configuration from Radius to MySQL to determine optimal configuration; Radius is configurred to use five threads, but we observe only one process on the database server at any one time. </span></div>
<div><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS','sans-serif'">Does Radius can perform its data input more efficiently by doing bulk updates against the MySQL server? what configuration changes required.</span></div>
<div><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS','sans-serif'">sql.conf:</span></div>
<div><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS','sans-serif'"># number of sql connections to make to server<br> num_sql_socks = 5</span></div>
<div><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS','sans-serif'"> # number of seconds to dely retrying on a failed database<br> # connection (per_socket)<br> connect_failure_retry_delay = 60</span></div>
<div><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS','sans-serif'"> # lifetime of an SQL socket. If you are having network issues<br> # such as TCP sessions expiring, you may need to set the socket<br>
# lifetime. If set to non-zero, any open connections will be<br> # closed "lifetime" seconds after they were first opened.<br> lifetime = 0</span></div>
<div><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS','sans-serif'"> # Maximum number of queries used by an SQL socket. If you are<br> # having issues with SQL sockets lasting "too long", you can<br>
# limit the number of queries performed over one socket. After<br> # "max_qeuries", the socket will be closed. Use 0 for "no limit".<br> max_queries = 0</span></div>
<div><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS','sans-serif'"> # Set to 'yes' to read radius clients from the database ('nas' table)<br> # Clients will ONLY be read on server startup. For performance<br>
# and security reasons, finding clients via SQL queries CANNOT<br> # be done "live" while the server is running.<br> #<br> #readclients = yes<br></span></div>
<div><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS','sans-serif'">We are doing only accounting through radius server.</span></div>
<div><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS','sans-serif'"></span> </div>
<div><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS','sans-serif'">Thanks,</span></div>
<div><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS','sans-serif'">Rams.</span></div>