[node-devel] Logrotate seem broken
Jonas Israelsson
jonas.israelsson at elementary.se
Thu Apr 25 17:35:21 UTC 2013
On 25/04/13 17:52, Mike Burns wrote:
> Can you provide the output of the following:
>
> du -sh /var/log
> df -h /var/log
>
I sure can, I'll even give you two..
Bellow you find the output with about an hour between, during this the
the log should have been rotated four times, right ?
The /var/log/libvirtd.log grows about a MB/min
# First -- Thu Apr 25 16:33:36 UTC 2013
[root at fat-tony admin]# df -h /var/log/
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/HostVG-Logging 2.0G 374M 1.6G 20% /var/log
[root at fat-tony admin]# du -sh /var/log/
168M /var/log/
[root at fat-tony admin]#
# Second -- Thu Apr 25 17:25:45 UTC 2013
[root at fat-tony admin]# df -h /var/log/
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/HostVG-Logging 2.0G 443M 1.5G 24% /var/log
[root at fat-tony admin]# du -sh /var/log/
231M /var/log/
All rotated logs below are when running logrotate manually.
[root at fat-tony admin]# ll /var/log
-rw-------. 1 root root 144427492 Apr 25 17:30 libvirtd.log
-rw-------. 1 root root 1177724 Apr 25 15:30 libvirtd.log.1.xz
-rw-------. 1 root root 845740 Apr 25 15:02 libvirtd.log.2.xz
-rw-------. 1 root root 81856 Apr 25 14:42 libvirtd.log.3.xz
-rw-------. 1 root root 66488 Apr 25 14:40 libvirtd.log.4.xz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/node-devel/attachments/20130425/e39a22d2/attachment.html>
More information about the node-devel
mailing list