insane -19 nice level for system service (mailgraph) - is it acceptable?
Chris Adams
cmadams at hiwaay.net
Wed Dec 8 17:04:18 UTC 2010
Once upon a time, Michał Piotrowski <mkkp4x4 at gmail.com> said:
> 2010/12/8 Chris Adams <cmadams at hiwaay.net>:
> > Once upon a time, Michał Piotrowski <mkkp4x4 at gmail.com> said:
> >> I noticed that this service uses insane nice level -19
> >> http://notendur.hi.is/~johannbg/systemd/etc/rc.d/init.d/mailgraph
> >> 8-|
> >>
> >> PRIORITY=-19
> >> [..]
> >> daemon nice $PRIORITY $exe -l $MAILLOG -d \
> >> --daemon-pid=/var/run/mailgraph.pid \
> >> --daemon-rrd=/var/lib/mailgraph $OPTIONS
> >>
> >> The same priority is used in the sample script. Does this service
> >> _really_ needs such insane nice level?
> >
> > Why do you (repeatedly) call it "insane"? That's kind of rude.
>
> Sorry :)
>
> > The
> > process is running at a low priority level;
>
> Nice -19 is the _higest_ priority - not low.
I suggest you try the exact command given (and yes, the "nice" command
is confusing).
--
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
More information about the devel
mailing list