In Progress CPANEL-43323 - doveadm priority (nice)

imorandin

Active Member
PartnerNOC
Nov 20, 2014
31
5
58
cPanel Access Level
DataCenter Provider
Hi,

When a client cleans a large email account, the doveadm expunge process consumes a lot of resources (specially CPU):

1695147889025.png

Is there any way to reduce the priority (nice) of this process?
I've tried these Tweak settings with no luck (nice stays at 0):

1695147992045.png

Thanks,

Ignacio
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
I did reach out to the team today, and they are aware of the issue but work hasn't started just yet. It would seem that the Tweak Settings values only apply to actions inside the File Manager, so there is definitely work to be done to clarify things in this area.

I they provide me with this command that will help check the I/O nice value of the doveadm processes, so this could be worthwhile to check on your system as you likely won't get accurate data directly from "top"

Code:
ps auxww|perl -ne '/[d]oveadm/ or next; @_ = split /\s+/; printf("I/O priority for pid %d: %s%s-------\n", $_[1], scalar(`ionice -p $_[1]`), $_)'