#535562 logcheck runs at normal I/O priority, and is hard-coded to nice -n10

Package:
logcheck
Source:
logcheck
Submitter:
Tim Small
Date:
2023-03-14 17:36:09 UTC
Severity:
wishlist
Tags:
#535562#5
Date:
2009-07-03 09:48:15 UTC
From:
To:
logcheck is a "batchy" job, but currently runs at normal I/O priority,
and is hard-coded to run with a niceness of 10.  As a result logcheck
can degrade interactive performance on machines with a lot of log
traffic, relatively slow CPU or expensive I/O.

It'd be useful if the "ionice" and "schedtool" utilities could be used to
provide more fine-grained control of the CPU and disk I/O priority of
logcheck (e.g. default to "idle" or "batch" priorities).  This could be
configurable using the debconf mechanisms.

If this is accepted as a bug, I can try and work on an acceptable
patch...

Thanks,

Tim.

#535562#10
Date:
2009-07-03 10:09:39 UTC
From:
To:
also sprach Tim Small <tim@buttersideup.com> [2009.07.03.1148 +0200]:

It's hard to say that this will be accepted, but the problem you
describe is real. So I'd say you should work on the patch. ;)