Alan,
> > 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.
Yeah, I have recompiled glibc to support over 60000 threads/process,
so that shouldn't be the problem. I've run a program to test thread creating
and it goes all the way...
> > 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.
Thats the exact option that I can't go past 25. For some reason,
whenever I set over 25 it just stalls there. Since we have several radius
servers, I'm using 25 conn on all radius servers, so that cant be the SQL
backend limiting.
> 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.
Will do! Keep you guys posted then... Thanks anyways!
Regards,
Ed Castro
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html