- Plesk Onyx for Linux
CPU is used mostly by Magento-based website, as 'top' command shows.
Stracing one of the processes shows that several files and directories are not found of the file system:
# strace -o strace.log -vts1024 -p <processID>
[root@server ~]# grep "such" /root/strace.log
07:52:30 readlink("/var/www/vhosts/example.com/httpdocs/vendor/magento/module-sales/view/ui_component/etc/definition.xml", 0x7ffed675e2b0, 4095) = -1 ENOENT (No such file or directory)
07:52:30 lstat("/var/www/vhosts/example.com/httpdocs/vendor/magento/module-sales/view/ui_component/etc", 0x7ffed6759130) = -1 ENOENT (No such file or directory)
Numerous read attempts in a few seconds:
[root@server ~]# grep "such" strace.log | wc -l
Magento file caching is enabled in Magento administration panel > system > cache management.
PHP process repeatedly tries to read the missing files of Magento application, very intensively, generating high CPU load.
Contact the website owner to restore the missing files.