Debian Bug report logs - #652600
logrotate: use nice and ionice to avoid slowing down system

version graph

Package: logrotate; Maintainer for logrotate is Paul Martin <pm@debian.org>; Source for logrotate is src:logrotate (PTS, buildd, popcon).

Reported by: Jaka Jančar <jaka@kubje.org>

Date: Mon, 19 Dec 2011 02:03:05 UTC

Severity: wishlist

Found in version logrotate/3.7.8-6

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Paul Martin <pm@debian.org>:
Bug#652600; Package logrotate. (Mon, 19 Dec 2011 02:03:08 GMT) (full text, mbox, link).


Acknowledgement sent to Jaka Jančar <jaka@kubje.org>:
New Bug report received and forwarded. Copy sent to Paul Martin <pm@debian.org>. (Mon, 19 Dec 2011 02:03:08 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Jaka Jančar <jaka@kubje.org>
To: submit@bugs.debian.org
Subject: logrotate: use nice and ionice to avoid slowing down system
Date: Mon, 19 Dec 2011 03:01:55 +0100
[Message part 1 (text/plain, inline)]
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

[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 18:01:03 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.