News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Logs filling up server

Started by chrisbirkinshaw, November 08, 2007, 05:20:42 PM

Previous topic - Next topic

chrisbirkinshaw

I am getting gigs of logs filling up my server. As a fix I am running this script every hour:

#!/bin/sh
rm -rf /usr/pluto/diskless/96/var/log/pluto/*
rm -rf /usr/pluto/diskless/96/var/log/acpid
rm -rf /usr/pluto/diskless/39/var/log/pluto/*
rm -rf /usr/pluto/diskless/39/var/log/acpid

Anyone else?

Chris


Zaerc

Might be an idea to look inside the ones getting huge to see what messages they are filling up with, that could indicate a setup or other problem.  Just checked on my cores and the total space they use stays well under 1GiB.

Alternatively I guess you could try editing /etc/pluto.conf and reducing the "LogLevels" parameter.
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]