Edgard Castro <[EMAIL PROTECTED]> wrote:
> That's exactly what I want. I have a very very busy radius server (about 100
> and something NASes) and I'm trying to increase the number of SQL sockets. I
> have increased the limit inside the MySQL to 1000 and have checked file
> descriptors, thread limit, etc on Linux. Everything is okay.

  Ok... are you allowing *many* threads on the server?  With 100 NAS
boxes, I'd guess that you want probably 50-100 threads, with 10-20 spare.
 
> The problem is that, I cannot go past 25 sql sockets. If I put 26 and up,
> the radiusd just hangs and dont answer any request, since the startup.

  There is a 'num_sql_socks' in the sql.conf file.  Other than that, I
don't know what could be happening.

  Hmm... there's a hard-codeed MAX_SQL_SOCKS in
src/modules/rlm_sql/conf.h, but that's set to 256.


  The only thing I can suggest is to root through it with a debugger, sorry.

  Alan DeKok.

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

Reply via email to