FreeRadius Losing packets in Multi-Threads mode

Pierre Rondou prondou at
Tue Oct 25 16:29:13 CEST 2011

Hello everybody,

I'm currently running freeradius on a debian (squeeze) server

# uname -a
Linux test 2.6.32-5-amd64 #1 SMP Mon Oct 3 03:59:20 UTC 2011 x86_64 

# freeradius -v
freeradius: FreeRADIUS Version 2.1.10, for host x86_64-pc-linux-gnu, 
built on Nov 14 2010 at 21:12:30

The problem is that the server seems to lose accounting packets in 
Multithread mode
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.


# echo "Message-Authenticator = 0x00" | radclient acct 
testing123 -c 2500000 > temp && wc -l temp && wc -l 
2500000 temp
84224 /var/log/freeradius/radacct/

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?


Pierre Rondou

More information about the Freeradius-Users mailing list