MySQL Connect Timeout?
Hi List, Is there a way to set a connect timeout for a MySQL-Server? At the moment it seems to be a bit longer then 60 seconds, but I cannot find where this is set (Using freeradius 3.0.9). Thanks for your help Susan -- S.Barnes Cologne University IT/Networking Dept.
On Aug 24, 2015, at 10:48 AM, Susan Barnes <barnes@rrz.uni-koeln.de> wrote:
Hi List,
Is there a way to set a connect timeout for a MySQL-Server? At the moment it seems to be a bit longer then 60 seconds, but I cannot find where this is set (Using freeradius 3.0.9).
In v3.0.x it's query_timeout, it sets the connection timeout too. https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/src/modules/rlm_... -Arran
On Aug 24, 2015, at 10:55 AM, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On Aug 24, 2015, at 10:48 AM, Susan Barnes <barnes@rrz.uni-koeln.de> wrote:
Hi List,
Is there a way to set a connect timeout for a MySQL-Server? At the moment it seems to be a bit longer then 60 seconds, but I cannot find where this is set (Using freeradius 3.0.9).
In v3.0.x it's query_timeout, it sets the connection timeout too.
https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/src/modules/rlm_...
The slightly hacky solution in v3.0.x has been fixed in v3.1.x with the unification of connection timeouts. The connect_timeout config item of the pool section now sets the connection_timeout in every module that supports it. https://github.com/FreeRADIUS/freeradius-server/blob/v3.1.x/src/main/connect... https://github.com/FreeRADIUS/freeradius-server/blob/v3.1.x/src/modules/rlm_... -Arran
On 24/8/15 16:55 , Arran Cudbard-Bell wrote:
On Aug 24, 2015, at 10:48 AM, Susan Barnes <barnes@rrz.uni-koeln.de> wrote:
Hi List,
Is there a way to set a connect timeout for a MySQL-Server? At the moment it seems to be a bit longer then 60 seconds, but I cannot find where this is set (Using freeradius 3.0.9).
In v3.0.x it's query_timeout, it sets the connection timeout too.
Thanks Arran, Where exactly does this parameter need to go? Regards Susan
https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/src/modules/rlm_...
-Arran
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- S.Barnes Cologne University IT/Networking Dept.
On Aug 24, 2015, at 11:21 AM, Susan Barnes <barnes@rrz.uni-koeln.de> wrote:
On 24/8/15 16:55 , Arran Cudbard-Bell wrote:
On Aug 24, 2015, at 10:48 AM, Susan Barnes <barnes@rrz.uni-koeln.de> wrote:
Hi List,
Is there a way to set a connect timeout for a MySQL-Server? At the moment it seems to be a bit longer then 60 seconds, but I cannot find where this is set (Using freeradius 3.0.9).
In v3.0.x it's query_timeout, it sets the connection timeout too.
Thanks Arran,
Where exactly does this parameter need to go?
In the sql module instance section. Added an example here: https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/raddb/mods-avail... -Arran
On 24/8/15 17:31 , Arran Cudbard-Bell wrote:
On Aug 24, 2015, at 11:21 AM, Susan Barnes <barnes@rrz.uni-koeln.de> wrote:
On 24/8/15 16:55 , Arran Cudbard-Bell wrote:
On Aug 24, 2015, at 10:48 AM, Susan Barnes <barnes@rrz.uni-koeln.de> wrote:
Hi List,
Is there a way to set a connect timeout for a MySQL-Server? At the moment it seems to be a bit longer then 60 seconds, but I cannot find where this is set (Using freeradius 3.0.9).
In v3.0.x it's query_timeout, it sets the connection timeout too.
Thanks Arran,
Where exactly does this parameter need to go?
In the sql module instance section.
Added an example here:
https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/raddb/mods-avail...
Thanks a lot Arran, I can confirm it works. -- S.Barnes Cologne University IT/Networking Dept.
participants (2)
-
Arran Cudbard-Bell -
Susan Barnes