[Dovecot] dovecot process nice value

Daniel Watts d at nielwatts.com
Mon Dec 3 19:29:12 EET 2007


Timo Sirainen wrote:
> On Mon, 2007-12-03 at 16:25 +0000, Daniel Watts wrote:
>> Timo Sirainen wrote:
>>> On Mon, 2007-12-03 at 13:05 +0000, Daniel Watts wrote:
>>>> My imap processes seem to all be running with a nice value of -15 (top 
>>>> priority). Is this usual? Not sure if this is a dovecot setting or 
>>>> something going on with my own system configuration somewhere.
>>> Normally Dovecot doesn't touch processes' priorities, so they all run
>>> with whatever priority was specified for the master process when
>>> starting it.
>>>
>> Hi timo - thanks for this.
>> The /usr/sbin/dovecot process itself was indeed niced to -15.
>> Why would that be? Can dovecot specify it's own nice value upon startup? 
> 
> Nope.
> 
>> When you say 'specified for the master process' I'm not sure if you mean 
>> in a config somewhere.
> 
> I meant whatever/however dovecot was started. I don't know if some
> init.d scripts play with priorities. Or it could have just been that
> your shell was running with -15 when starting dovecot.
> 
> Anyway, I don't think Dovecot itself should change its priority on
> startup.
> 	

Ok - you're probably right about my shell being reniced before startup. 
Will check that out. Thanks a lot for your time Timo. Just upgraded 
Dovecot to 1.0.7 as well. Looking good so far.



More information about the dovecot mailing list