Your message dated Wed, 22 Aug 2018 15:15:29 +0200
with message-id 
<caj2a_ddpv4dbkp8a1urzqt7+a86qpfwya6g7+9rsw9dbxym...@mail.gmail.com>
and subject line logrotate: use nice and ionice to avoid slowing down system
has caused the Debian Bug report #652600,
regarding logrotate: use nice and ionice to avoid slowing down system
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
652600: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652600
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Version: 3.14.0-2

The current systemd service contains:

    # performance options
    Nice=19
    IOSchedulingClass=best-effort
    IOSchedulingPriority=7

--- End Message ---

Reply via email to