Strange problems in large proxy setup

Alan DeKok aland at
Mon Feb 26 10:56:47 CET 2007

Kostas Zorbadelos wrote:
> we are talking about a setup that services tens of thousands of
> requests (hundreds per second maybe). If I am not mistaking radiusd -X
> will run freeradius in 
> single threaded mode. In our normal mode of operation freeradius has
> 65 threads servicing requests. Won't this affect service?

  Perhaps.  A normal machine should be able to handle thousands of
requests per second without DB accesses.  With LDAP queries, you're
limited by the speed of the LDAP database, so single-threaded mode may
affect service.

> This is indeed a very difficult situation to debug. The problem
> behaviour does not appear in a low volume load. I believe it has to do
> with the increased load (and the fact that the home FUNK radius delays
> the servicing of requests I think).
> I will try to give as much debugging input as possible and I will also
> review the server's code.

  I would also suggest running a test server under valgrind.  Don't give
it real traffic, but have it use as much of the real config as possible.
 Maybe there's an error that valgrind will catch.

  Alan DeKok.
--       - The web site of the book - The blog

More information about the Freeradius-Users mailing list