(RADIATOR) Logfile
Hugh Irvine
hugh at open.com.au
Fri Feb 13 15:53:25 CST 2004
Hello Geoffrey -
I generally use special characters for my log file names, usually with
global variables passed in on the command line.
It is usually _much_ easier to have seperate log files otherwise it
gets very confusing trying to understand what you are looking at.
# define log file
LogDir /var/log/radius
LogFile %L/%{GlobalVar:instance}/%Y-%m-%d.log
This will create a new log file for each instance every day so you can
then have a cron job archive/delete the old logs as necessary.
Your startup script would include something like this:
perl radiusd -config_file /your/radius/authentication.cfg
instance=authentication
and
perl radiusd -config_file /your/radius/accounting.cfg
instance=accounting
regards
Hugh
On 14 Feb 2004, at 01:42, DUFOUR Geoffrey wrote:
> Hello,
>
> I am running two Radiator instances on the same host (one for
> authentication and one for accounting) with the same configuration
> file.
>
> I am using a global variable for the AUTH SQL DBSource parameter to
> allow the instances to access different databases.
>
> Do you see any problems with using the same logfile for both instances
> ?
>
> By the way I noticed that under heavy load the total used memory of my
> server is increasing constantly (up to 98% and some swap) when log is
> enable (trace 4).
>
> Most of the memory is freed when I delete the logfile.
>
> I am not a Linux specialist, so can you tell me more about that ?
>
> Environment :
>
> RH Linux 8 + MySQL 4.0.17 + Radiator 3.8.
> Xeon 1GB RAM
>
> Regards.
>
> Geoffrey
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
>
>
NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list