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

Camilo Mesias camilo at mesias.co.uk
Wed Dec 8 17:02:17 UTC 2010


Perhaps the issue is that the coding of the priority isn't intuitive.
I thought -20 was 'highest priority' and high numbers were 'lower
priority'

Would something more meaningful and unambiguous be better?

-Cam

On Wed, Dec 8, 2010 at 4:57 PM, Chris Adams <cmadams at hiwaay.net> wrote:
> 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.  The
> process is running at a low priority level; do you have a problem with
> that?
>
> --
> 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.
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel


More information about the devel mailing list