Unexpected closed sessions in database

Alan DeKok aland at deployingradius.com
Fri Feb 20 08:56:15 CET 2009


Marinko Tarlac wrote:
> A little update... In the same time (2009-02-17 11:23:16), there was at
> least 20 other closed sessions and they are from different NASes so I
> guess that problem is on the server side...

  You can turn on SQL tracing to see the SQL statements.  Or, (it's
easier in 2.1.4), you can turn on debugging *only* for accounting
packets, with Acct-Status-Type Stop or Accounting-Off.

  The new "radmin" tool is very useful for tracking down these kinds of
issues.

> In which cases accounting_onoff_query is triggered by radius server?
> (Accounting Off, and Stop but is there any other ...)

  Only if you're using Simultaneous-Use.

  Alan DeKok.



More information about the Freeradius-Users mailing list