Operating System & Version
CloudLinux / CentOS 7.8
cPanel & WHM Version
v86.0.21

VictorDmAlves

Registered
May 26, 2020
2
0
1
Brazil
cPanel Access Level
Root Administrator
Hello guys, I came to here since I don't know what more I can do to my server. I've research a lot, including the manual, but nothing quite help me because of my server configuration and to something that I can't seems to identify.

This was not my build, I'm from support. Our server is virtual and has 64GB of vRAM and 24 vCPU. We have 348 sites on it. Other details:
* Server Version: Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
* Server MPM: event

Our MultiPHP Manager configuration (We have tryied 500, 100, 100; this one is the default values):
1590506471562.png

Our Apache2 configuration:
1590506572227.png

I've made a Include of this value:
1590506615624.png

The thing is: our machine is not using a lot of RAM, it's using a lot of CPU (specially in rush hour). Right now, for instance, our load averages is 17.19 / 16.17 / 17.34.
Floating with it, it's the php-fpm which seems to be using a lot for each pool:
1590506986531.png

1590507037929.png

I've tryied to gather how much each process is using my vRAM with a Python script, here are the results:

1590507144596.png
1590507161618.png

16/17 vCPU been use is already noticeble in the performance in the website. They used to be around 8/9 vCPU usage, only now I'm facing this problem.
Dosen't matter what I tweak, this problem persist. Some pools is using a entire vCPU, and it's ever changing, I can't find a way to identify them.

Can someone enlight me if this tweak seems alright and what I need it's just a upgrade of my WHM server? It's important to say that, in rush hours, the vCPU usage goes crazy sometimes, hitting 26 to 30 load average. For example, as I writting this, I've press F5 in the Process Manager and some pools is hitting 160 / 650 CPU%, but is very quick; if I refresh again, it's gone.

Thank you for your help! If you need more information, let me know!
 

Attachments

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
This is best suited toward a qualified system administrator as optimization of this nature is outside of our scope. If you do not have a system administrator, you may be able to find assistance at System Administration Services.

As for
I've seen some processes using a lot of CPU with this command: /usr/local/cpanel/cpanel - calculating disk usage
Though that's not the full command I believe it can be safely assumed that this is quota calculations for the accounts.
 

HostNoc

Well-Known Member
Feb 20, 2020
155
38
28
Ontario
cPanel Access Level
Root Administrator
Hello,

Could you check the site databases processes and also check the code of the site, this would not be easily fixed unless there is ample amount of monitoring of the processes for mysql php apache and a lot of optimization, also try to check the compatibility of code with php version.

Regards,