Hey all,
since some time logrotate goes on indefinitely and takes up 100% cpu. No
idea why...
No logs are of unreasonable size, and all non-zero kb files are being rotated.
Manually rotating gives
Code:
root@leon-fyg:/var/spool# logrotate -df /etc/logrotate.conf
reading config file /etc/logrotate.conf
including /etc/logrotate.d
reading config file syslog
reading config info for /var/log/cron /var/log/debug /var/log/maillog
/var/log/messages /var/log/secure /var/log/spooler /var/log/syslog
/var/log/cups/* /var/log/backup_laptop.log /var/log/backup_laptop.error
reading config info for /var/log/wtmp
and there it hangs forever with 100% cpu uptake.
For what it's worth, this is the wtmp entry in /etc/logrotate.conf:
Code:
# Rotate /var/log/wtmp:
/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}
Anyone a clue of what's going on and how to get it in tune again?
Cheers, Leon.