[Popcon-developers] Bug#483465: popularity-contest: cronjob should use ionice
Petter Reinholdtsen
pere at hungry.com
Sun Jun 8 17:08:45 UTC 2008
[Franklin Piat]
> popularity-contest's cronjob (/etc/cron.daily/popularity-contest)
> should use ionice in order to be [even] less intrusive.
Make sense to me.
> I've attached a simple patch.
I suspect adding something like this to the script is less intrusive:
ionice -c2 -p $$ > /dev/null 2>&1 || true
It change the nice level on the script process. Btw, why did you
choose class 2 (best-effort) instead of class 3 (idle)? I thought
class 2 was the default, thus making the operation a no-op?
Happy hacking,
--
Petter Reinholdtsen
More information about the Popcon-developers
mailing list