Graeme Hinchliffe <[EMAIL PROTECTED]> wrote:
>       Is it possible to set FreeRADIUS to share an SQL connection
> rather than using one for each request?

  Huh?

  It uses a pool of SQL connections, and doesn't use a "connection per
request".

>       My problem is that our radius servers periodically come under
> VERY heavy load, ie 6000+ accounts all trying to authenticate at
> once.  This obvioulsy means all 256 RADIUS sessions fill up

  Huh?

  The NAS boxes can have more than 256 RADIUS packets outstanding.

> and stay full until all users are authenticated.  This would require
> 256 socket connections to MySQL as I read it,

  Huh?

  That's not true at all.

>       What I would have thought would be a nicer solution would be
> to have only a few connections open to MySQL and the daemon shares
> these connections.

  Have you tried reading the existing docs & code for the SQL module?
This is exactly what it does.

>  When all connections are in use the daemon queues additional
> requests until a socket becomes free.

  This is a little different.  The server should stop accepting new
packets if doesn't have the resources to process them.  This will go
in before 0.9.

  Alan Dekok.

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

Reply via email to