View Full Version : [ubuntu] Log files are getting huge
August 3rd, 2010, 05:06 PM
I have a ubuntu box running my vmware VMs and today it said
that my / is out of space. I checked and var\log is over 14gb.
Huge files are kern.log, messages, syslog, syslog.1.
What should I do ?
August 3rd, 2010, 05:09 PM
I remember someone had an issue like this, where every transfered package was logged and log file was insanly big.
Maybe you have same issue, maybe post some examples that show up gazillion times in those log files?
August 3rd, 2010, 05:15 PM
Every line is like this with some minor difference:
Aug 1 08:07:36 i7-server kernel: [367474.826757] Unknown OutputIN= OUT=vmnet1 SRC=172.16.230.1 DST=172.16.230.255 LEN=244 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=138 DPT=138 LEN=224
Transmission is running on the server btw. Looks like every single packet is logged and thats alot.
August 3rd, 2010, 05:16 PM
Hi I had a problem like this a while ago and there's a small chance the causes are the same. Do you have ufw or gufw installed? If so check the logging levels, as I had accidentally put the logging to very high levels and it was generating a few hundred MB a day.
August 3rd, 2010, 05:20 PM
I'm using firestarter if that helps
August 3rd, 2010, 07:32 PM
August 3rd, 2010, 07:38 PM
well you can use bleachbit (as root) to clear the logs for now.
as for your firewall, I usually use gufw (it's the project du jour, since firestarter has long been considered a dead project). in gufw you can't alter rules, so I would try to find the ones where logging is set to true, and remove them, replacing them with simmilar rules but without logging.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.