On Wed, 24 Apr 2002, Chris Parker wrote:

> If this is happening then there is going to be a problem.  If the server
> can't access the database server, then it will only cause further problems
> for you.
I think, this will happens anytime. At startup moment sql module make
number of connections, which are disappear during a time. Timeouts,
network problems may cause this... May be it is better try to create new
set of sockets, when there are not enough.

> If SQL returns NOOP, then changing the order won't matter.  The best
> solution is to change the SQL code so that it returns FAIL when it can't
> obtain a socket.
>
> I'll take a look at doing this in the latest CVS.
Ok. But if you have not enough time, I can send you patch. I think it may
be done by something like 1,$s/NOOP/FAIL in
src/modules/rlm_sql/drivers/rlm_mysql/rlm_mysql.c
Anytime post notification when it will done.

Thank.

---
Aleksandr Kuzminsky,            AK476-RIPE
System Administrator,           AK16-UANIC
ISP NBI.


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

Reply via email to