insane -19 nice level for system service (mailgraph) - is it acceptable?

Andreas Schwab schwab at redhat.com
Wed Dec 8 17:10:18 UTC 2010


Michał Piotrowski <mkkp4x4 at gmail.com> writes:

> 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.

No, it isn't.  This is nice -19 == nice -n 19.

Andreas.

-- 
Andreas Schwab, schwab at redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."


More information about the devel mailing list