FreeRadius Losing packets in Multi-Threads mode

Alan DeKok aland at deployingradius.com
Tue Oct 25 16:47:44 CEST 2011


Pierre Rondou wrote:
> The problem is that the server seems to lose accounting packets in
> Multithread mode

  It's possible that you're simply sending packets too fast.  If the
server doesn't read them from the socket quickly enough, the kernel will
simply discard them.

> Logging with module "detail" or "linelog" logs only a very little amount
> (0.5%) of the transmitted packets. The client receive all the answer,
> but my problem is that I rely on those logs for an other program.

  It should handle a lot more than .5% of the packets.  It does on my
system.

> This only happen when using FreeRadius in Multithread mode, while using
> it in single-thread (freeradius -s), all the packets are logged correctly.
> 
> Anyone has a hint on this problem?

  What *else* is the server doing?  Databases?  Exec'd programs?

  Alan DeKok.



More information about the Freeradius-Users mailing list