[Bug 115774] Re: syslog.0 and kern.log.0 grow huge
Marcello Romani
115774 at bugs.launchpad.net
Tue Sep 13 15:19:03 UTC 2011
I've been lucky enough to never experience this bug on my machines, but I'd like to provide my 2 cents about what could cause the issue.
The log rotation system seems to be configured to rotate once a day:
-rw-r----- 1 syslog adm 125K 2011-09-13 17:15 syslog
-rw-r----- 1 syslog adm 86K 2011-09-13 07:40 syslog.1
-rw-r----- 1 syslog adm 3,7K 2011-09-12 07:45 syslog.2.gz
-rw-r----- 1 syslog adm 3,9K 2011-09-11 08:05 syslog.3.gz
-rw-r----- 1 syslog adm 5,0K 2011-09-10 07:35 syslog.4.gz
-rw-r----- 1 syslog adm 4,5K 2011-09-09 08:00 syslog.5.gz
-rw-r----- 1 syslog adm 4,5K 2011-09-08 08:05 syslog.6.gz
-rw-r----- 1 syslog adm 6,9K 2011-09-07 08:00 syslog.7.gz
(this is from my personal machine)
If the rotation takes place once a day regardless of size, the logfile
can grow very big if there are many processes which generate a lot of
"noise".
HTH
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/115774
Title:
syslog.0 and kern.log.0 grow huge
Status in “ubuntu-meta” package in Ubuntu:
Confirmed
Bug description:
These two log files recently grew to over 1 Gb each. I only noticed
when I booted up and X failed to start, giving a warming about not
being able to write to /tmp. I later discovered that this error was
due to lack of partition space and that /var/log had become bloated.
I deleted syslog.0 and kern.log.0 and all is well. This bug may be
related to Bug #71870.
My kernel is 2.6.20-15-generic
Version is Kubuntu 7.04
My hard drive is partitioned thus:
hda1 - WinXP (ntfs) - 10 Gb
hda5 - windows user files (ntfs) - 30 Gb
hda6 - / (ext3) - 7 Gb
hda7 - swap - 2 Gb
hda8 - user space (fat32) - 2 Gb
hda9 - /home (ext3) - 25 Gb
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/115774/+subscriptions
More information about the foundations-bugs
mailing list