Slow request response for auth/acct

Marco Marino marino.mrc at gmail.com
Fri Jul 15 10:09:37 CEST 2016


Actually I'm using freeradius 2.1.10 and mysql 5.5.38 with 50K users and
40K accounting rows (they are purged each month).

When I try an authentication request, it seems too slow:

time echo "User-Name = user1,Password = xxxx" | radclient -x  a.b.c.d:1812
auth testing123
Sending Access-Request of id 122 to 50.0.1.4 port 1812
    User-Name = "3337822263"
    Password = "o24nu"
rad_recv: Access-Accept packet from host a.b.c.d port 1812, id=122,
length=26
    Idle-Timeout = 600

real    0m0.870s
user    0m0.012s
sys    0m0.007s

I have only 3 clients and in radius.log I see a lot of
Fri Jul 15 10:01:19 2016 : Error: Discarding duplicate request from client
owdata4 port 50368 - ID: 209 due to unfinished request 309

My clients are connected on the same lan of the freeradius server and I
added indexes on table in mysql.


Is there a way to speeding up my freeradius installation? Please let me
know if I have to add more details.
Thank you


More information about the Freeradius-Users mailing list