Gillou <[EMAIL PROTECTED]> wrote:
> I have the same problem as Tim : Error: rlm_sql: All sockets are being used!
> but increasing the value of num_sql_socks didn't help.
> I've increased it reaching 1024 (default = 5). Freeradius take longer to tell 
> me that all socket are used but they are all used nevertheless.

  So find out *why* all of the sockets are being used.  Increasing the
number of allowed sockets just works around the problem.

  What's *probably* happening is that the SQL server is taking a long
time to respond.  So every radius request takes 3-4 second longer than
normal, due to SQL.  If you get 100's of requests per second, then you
will run out of sockets quickly.

  Have you indexed your SQL tables?  How long does it take to do the
queries when you run in debug mode, and send it test packets?

  Alan DeKok.

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

Reply via email to