Package: logrotate
Version: 3.7.8-6
Severity: wishlist

When logrotate begins compressing large log files, it will slow down our
server because of I/O activity to the point where it causes downtime.

It might be a good idea to start logrotate with a lower priority.

I have changed /etc/cron.daily/logrotate from:

    /usr/sbin/logrotate /etc/logrotate.conf

to:

    nice -n 19 ionice -c3 /usr/sbin/logrotate /etc/logrotate.conf

and it seems to do the trick.

Best,
 Jaka

Reply via email to