https://bugzilla.novell.com/show_bug.cgi?id=487613 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=487613#c7 --- Comment #7 from Ján Kupec <jkupec@novell.com> 2009-03-31 04:38:49 MDT --- Thanx for the info, it's beginning to make sense. (In reply to comment #6)
We're now entering unknown waters, for me. Is running logrotate something the user should setup, or should it be setup automatically when the system is installed? I can't find anything to suggest it's scheduled in root's entry in KCron.
No, it should be set up automatically. You seem to have it in place (the script in cron.daily dir).
#ll -h /var/log/zypp-refresh.log -rw-r----- 1 root root 2.1M Jan 7 20:14 /var/log/zypp-refresh.log #/etc/cron.daily/logrotate error: zypper.lr:13 duplicate log entry for /var/log/zypp-refresh.log error: found error in /var/log/zypp-refresh.log , skipping
This indicates that since applying David's fix you have two logrotate entries for zypp-refresh.log, thus _now_ is the log allowed to grow indefinitely.
Before I read the thread on the opensuse mailing list, my zypp-refresh.log had grown to 9.2GB, leaving /var/log 'out of space'.
The size suggests that there was some kind of erroneous massive logging, i suspect bug 469872 (fixed, an update for 11.1 is pending). So the file has grown up in very short time, well before cron could execute logrotate.
Since applying David Rankin's fix, it has remained at 2.1MB. However, the lines I've pasted above seem to suggest the file is corrupted in some way.
This is the only thing thing that still puzzles me :O) I guess you removed the huge file manually and the log did not grow too much since then? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.