LinuxMCE Forums
May 18, 2013, 09:05:29 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Logs filling up server  (Read 686 times)
chrisbirkinshaw
Guru
****
Posts: 431


View Profile
« on: November 08, 2007, 05:20:42 pm »

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

Logged
Zaerc
Alumni
LinuxMCE God
*
Posts: 2256


Department of Redundancy Department.


View Profile
« Reply #1 on: November 08, 2007, 05:50:20 pm »

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.
Logged

"Change is inevitable. Progress is optional."
-- Anonymous

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!