session-time with incorrect calculations

Dusty Doris freeradius at mail.doris.cc
Tue Jul 26 19:47:34 CEST 2005


> Hi
>
> I am running FreeRadius 1.0.4 with Postgres.
> I have noticed that the sessiontime is sometimes calculated incorrectly
> in the radacct table.
> If you compare the acctsessionstart and the acctsessionend with the
> acctsessiontime it does not match.
> This is particularly true for connections ended with idle-timeout.
>
> When would session times generally be wrong and how can I stop this from
> happening ?
>
> Thanks
> Barry

Freeradius just logs what is sent over.  Are you using radrelay?  We get
session delays sometimes when using radrelay when our sql server is
overwhelmed.

Check for acctstartdelay and acctstopdelay.  If you find it, subtract
acctstartdelay from the session time and see if that makes sense.





More information about the Freeradius-Users mailing list