[Popcon-developers] Bug#483465: Bug#483465: popularity-contest: cronjob should use ionice

Bill Allombert Bill.Allombert at math.u-bordeaux1.fr
Sun Jun 8 17:42:58 UTC 2008


On Sun, Jun 08, 2008 at 07:08:45PM +0200, Petter Reinholdtsen wrote:
> [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

Personnally, I do not like it, because this cause yet another package
(schedutils) to be used by popcon, and for which the 'vote' data will
be meaningless (we will have installed=vote).

Furthermore, I think this setting should be configured at the cron
programm level, not for each cronjob separately.

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 





More information about the Popcon-developers mailing list