[Bug 487613] New: zypp-refresh.log grows without bounds
https://bugzilla.novell.com/show_bug.cgi?id=487613 Summary: zypp-refresh.log grows without bounds Classification: openSUSE Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: meissner@novell.com QAContact: qa@suse.de Found By: Customer /var/log/zypp-refresh.log grows without bounds and being rotated. ls -la zypp-refresh.log -rw-r----- 1 root root 37105638 21. Mär 23:05 zypp-refresh.log and the first entry is: 2009-01-11 21:32:51 <1> galeere(14753) [zypp] ZYppFactory.cc(zyppLocked):269 no lockfile /var/run/zypp.pid found it should have rotated the logfile, e.g. via logrotate snippet. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=487613
User rodney.baker@iinet.net.au added comment
https://bugzilla.novell.com/show_bug.cgi?id=487613#c1
--- Comment #1 from Rodney Baker
https://bugzilla.novell.com/show_bug.cgi?id=487613
User infonovell@barrowhillfarm.org.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=487613#c2
Robert Williams
https://bugzilla.novell.com/show_bug.cgi?id=487613
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=487613#c3
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=487613
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=487613#c5
--- Comment #5 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=487613
User infonovell@barrowhillfarm.org.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=487613#c6
--- Comment #6 from Robert Williams
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
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.
https://bugzilla.novell.com/show_bug.cgi?id=487613
User infonovell@barrowhillfarm.org.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=487613#c8
--- Comment #8 from Robert Williams
https://bugzilla.novell.com/show_bug.cgi?id=487613
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=487613#c9
Ján Kupec
participants (1)
-
bugzilla_noreply@novell.com