Jump to content

High CPU Usage!


Joo32

Recommended Posts

We are using a WordPress website and WHCMS in one account cPanel/WHM. Both website and WHCMS is running very slow( every page tooks 10-15 sec to load) and this happens 2-3 times every day for 1-2 hours period.
VPS hardware: 3Core CPU and 4GB RAM.

We are facing a High CPU usage in WHM end and when we check Process Manager, it shows the "php-fpm: pool" is using 70% of CPU with 4 childs.
Also, we have checked the Current Running Processes, the same "4 childs php-fpm pool" are there and pointing to the WHMCS directory on my cpanel!
When we disable/remove the WHMCS directory, our website(Wordpress) loads under 1 sec!

We do not have more than 1-2 online users on WHCMS when this happens, also no specefic cron.

 

How can we troblshoot the WHMCS process and functions that cause this slowness?

Let me know if you need any information.
 

 

2020_09_27.png

2020_09_27_0.png

Link to comment
Share on other sites

  • 3 weeks later...
On 9/27/2020 at 1:26 AM, Joo32 said:

How can we troblshoot the WHMCS process and functions that cause this slowness?

There are multiple ways to troubleshoot. You could disable all your modules / hooks and re-enable them one after one. This way you can find out which module causes the issue.
You do not must to disable the modules via WHMCS, you can just rename the directory of the module. This way, all settings will persist.

However, before doing this i would strace the PHP process. This should provide information what PHP does exactly.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated