Oliver Zimmermann <[EMAIL PROTECTED]> wrote:
> after a long time of stability the radiusd crashed with every restart.
> The debugging shows the file "detail-combined" exceeds "maximum file
> size":
> 
> ~~"maximum file size exceeded --
> /var/log/radius/radacct/detail-combined"
> 
> 
> Its size has grown to 2GB:

  Yes.  There's a patch in the mailing list archives to allow the
server to work with 64-bit files.

> It shouldn't be a limitation of the host-filesystem (reiserfs 3.6) and
> kernel(2.4.20), which can handle file sizes greater than 4GB.

  Yes... but the application has to be made aware of it.

> What means the following sentence in the freeradius-docu of "radrelay":
> " You should never logrotate your detail file, radrelay will take care
> of this for you."
> 
> How can this be done by "radrelay", so that the detail-combined does not
> exceed 2GB?

  Apply the patch.

  A better (i.e. longer term) solution, is to patch radrelay, so that
it calls 'xlat' on the filename.  This allows the detail file to be
time-specific, so that it is automatically rotated.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to