On Wed, 02 Jul 2003 16:40:49 -0400
"Alan DeKok" <[EMAIL PROTECTED]> wrote:

> 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".

If I have the number of SQL connections say set to 10, then when I launch a large 
number of RADIUS requests the log files say that there isn't enough SQL connections 
and it seems to then reject the connection.  So I get a few accepts and hundreds of 
rejects.

> >     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.

How is this achieved? I thought that the RADIUS protocol only permitted 256 sessions, 
(well per connection)?

> > and stay full until all users are authenticated.  This would require
> > 256 socket connections to MySQL as I read it,
> 
>   That's not true at all.

if I have less than 256 it rejects a lot of the requests.

> >  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.

Any idea of timescale for this?  Also how will it be done? hanging back on responces 
to slow the sender down?


-- 
-----
Graeme Hinchliffe (BSc)
Core Internet Systems Designer
Zen Internet (http://www.zen.co.uk)

ICQ 3842605 (link)

Sales : 0870 6000 971
Fax   : 0870 6000 972


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

Reply via email to