Author Topic: CPU Usage Stats on Admin Panel  (Read 1112 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CPU Usage Stats on Admin Panel
« on: July 13, 2023, 01:58:24 PM »
Hey guys,

Not really a server guy but got a dedicated server really just to manage one website and trying to figure out if I'm doing something wrong.

Not a high end server but Intel dual code, 16GB, 4TB to run a Magento store.

My issue is the following, I keep getting the website blocked after running queries. In the processes panel I see 100% CPU...

Yet the actual CPU monitor below is barely showing 5%.





Just confused. I setup. cgroups to allocate the majority to the account.

Another testing website on the same server still works fine while the main site is blocked and also the admin panel so the server is not overloaded.

Anyone who knows more about this stuff than me if they could help a guy out!

Thanks!


Offline
*
Re: CPU Usage Stats on Admin Panel
« Reply #1 on: July 13, 2023, 10:55:47 PM »
check mysql max connects and are you getting any specific error?

Offline
*****
Re: CPU Usage Stats on Admin Panel
« Reply #2 on: July 14, 2023, 08:33:04 AM »
> Anyone who knows more about this stuff than me if they could help a guy out!

It must be investigated and guessing too bad in your case.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
****
Re: CPU Usage Stats on Admin Panel
« Reply #3 on: July 15, 2023, 06:59:12 PM »
I've run a Magento store under CWP in a similar setup -- basically 1:1 using the whole VM with similar specs (10GB RAM, 2 CPU cores). You will need to do specific DB tuning for Magento, along with specific cron jobs they recommend. Don't forget to secure the installation as well. It looks by your process list MariaDB is consuming the bulk of the CPU, which shouldn't really be the case when your tuning is finished. Generally, Magento installs are heavy on the PHP processing side of things, so you may want to put Nginx in front of the site, or even Varnish. That way a cache handles most of the page displays until someone creates an e-commerce account at the storefront and then needs live interaction with the web app.