buffered-sql problem

Jouni Soini soini.jouni at yahoo.com
Thu Jan 26 16:57:28 CET 2017


> Again, are you clear that writing to detail-20170125 does *not* mean that the packet is immediately read into the detail.work file?

yes I am clear about it. the problem is not latency. some packets are NEVER read (or written) from detail file.



> I just don't see how the server "misses" packets from the detail file.

I think the logs is clear enough. if you check them you can see that two accounting packets are received for users 'test1' and 'test2' at the same time.
both are written to the detail file successfully (or at least the debugs says so)
but while reading from this detail file only user 'test2' is saved into sql. there is no evidence of the user 'test1' in debugs and there is no row for it in the mysql table.


> If you see accounting packets being lost.. blame the NAS.  FreeRADIUS doesn't throw packets away.  The NAS does.

there is no packet loss or NAS problem. FreeRadius accepted both requests. but only saved one of them to the database.


More information about the Freeradius-Users mailing list