proxy acct records best practices

Alan DeKok aland at deployingradius.com
Fri Mar 6 08:39:22 CET 2009


TR Missner wrote:
> I am a new user of freeradius ( no experience with the 1.x version at all ).

  Don't use 1.x.  Use the latest version.

> I am in the process of setting up radius for accounting of voip records.
> Due to the nature of my system blocking must be avoided at all costs.
> With this in mind I have configure FR to write accounting records
> locally to a file then I have the records proxied to a remote freeradius
> instance where the  records are written to a database.
> My question revolves around best practices and speed.
> Reading and shipping the records off box is very slow ( somewhere around
> 5 - 10 records per second ).

  You've configured the server to use syslog.  Don't.  Syslog on some
systems is limited to 5-10 log entries per second.  This is because it
syncs the logs to disk after each line of text.

> I believe this may be caused by the latency between the proxy and the
> master which is around 150ms.

  No.

> Of course I could just insert the records in the DB across the WAN but
> am not sure whether this would be any faster.
> I'm convinced latency is the issue because even when I turn off the
> databasing of records on the master and only write to flat files the
> speed remains in the same range.

  syslog.

  Alan DeKok.



More information about the Freeradius-Users mailing list