Hi!
I have installed freeradius snapshot (20020722) with rlm_sql module which
connect to mysql v3.23.44.
I have test it with default accounting queries and promlem is next:
when query fail (because duplicate key should be insterted, for example),
mysql_query in sql_query return -1, so sql_check_error return SQL_DOWN,
however socket is good. Then rlm_sql try to open socket again, but doesn't
shutdown existing socket, so after number failed queries radiusd open
lot of sql sockets.
Of course, I fix it for me :), but, possibly, radius should shutdown
socket before re-connect or correctly check
mysql return codes in main stream?

-- 
Denis Tatarskikh [UdSU/MF] [UdSU/IC]        mailto:[EMAIL PROTECTED]



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to