• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Question Performance and high IO: vhostmng-content

Alban Staehli

Regular Pleskian
Server operating system version
AlmaLinux 8.10 (Cerulean Leopard)
Plesk version and microupdate number
Plesk Obsidian 18.0.72 Update #3
Hi,

I have succesfully reduced IO impact for vhostmng-find, thanks to the following article: Question - vhostmng-find processe consume CPU .
I have tried to apply the same to statistics_collector and vhostmng-content .

Works well for statistics_collector, but not for vhostmng-content (it creates an ever running loop using 100% CPU).

Is there a way to use ionice as well for the execution of vhostmng-content?

Thank you.
 
Hi, @Alban Staehli . What you can do is adjust the niceness and execute the Daimly maintenance task with lower priority:

Code:
nice -n19 /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php >/dev/null 2>&1

While the process is running you can identify which is/are the problematic subscriptions that take the longest:

Code:
ps auxwwff | grep vhostmng-find

That will show you the corresponding system user.

You can also use the strace utility to identify which directories take the longest:

Code:
strace -p PID-of-vhostmng-find
 
Hi, @Alban Staehli . What you can do is adjust the niceness and execute the Daimly maintenance task with lower priority:

Code:
nice -n19 /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php >/dev/null 2>&1

While the process is running you can identify which is/are the problematic subscriptions that take the longest:

Code:
ps auxwwff | grep vhostmng-find

That will show you the corresponding system user.

You can also use the strace utility to identify which directories take the longest:

Code:
strace -p PID-of-vhostmng-find
Hi,

Thank you for the detailed response.
I can't find the daily maintenance command in crontab. Would you know where it's executed? What file shall I look for?

Also would you be able to confirm this is the only job that execute the command? Or is there other way to trigger it?

Regards,

Alban
 
On AlmaLinux 8.10, you should be able to find it under /etc/cron.daily/50plesk-daily.
As far as I am aware vhostmng-find is only triggered by the daily maintenance task.
 
Thank you for the update. Apologies for the misunderstanding. Typically, vhostmng-find is the reason for the CPU consumption increase. Nevertheless, vhostmng-content is also part of the Daily maintenance task and the same logic could be followed for it. Just replace vhostmng-find with it in the example commands.
 
Back
Top