Hide Forgot
Description of problem: in current vdsm libvirt log configuration libvirt is generating lots of logs, sometimes logrotate isn't called frequent enough and the log is filling up all the hd. -rw-------. 1 root root 8.6G Jul 24 17:02 /var/log/libvirtd.log.1 -rw-------. 1 root root 34G Jul 24 17:57 /var/log/libvirtd.log Version-Release number of selected component (if applicable): How reproducible: happens several times Steps to Reproduce: 1.run lots on vms on host using vdsm. 2. 3. Actual results: Expected results: Additional info:
happened in vdsm-4.9-81.el6.x86_64
It is important to mention that this issue has appeared when the filesystem was full; the interesting question is why wasn't .1 log compressed. I would not be surprised if it turns out to be a logrotate bug. On the other hand, it could make sense to run vdsm-logrotate crontab more often.
I cannot say that I love this patch, but it should do the trick http://gerrit.usersys.redhat.com/773
Checked on 4.9-89.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2011-1782.html