cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.4.2 PHP 7.4 CPU Usage 100% High Performance Per 60 Seconds

SOLVED

Magento 2.4.2 PHP 7.4 CPU Usage 100% High Performance Per 60 Seconds

Hi team,

 

How are you today? I would like to know some features on my magento site about the PHP 7.4 why it costs 100% CPU Usage/ 60 seconds ? Is it any way we can make it stabilized?my server configuration 2vCPU + 4GB RAM + 80GB SSD Ubuntu 20.04 LTS + MySQL 8Screenshot_CPU_Usage.jpg

Elasticsearch 7.6.0 for now is stable, once upgrade to 2.4.3 is always down for high CPU + memory usage, is it an issue about cpu & memory not enough on my server please?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Magento 2.4.2 PHP 7.4 CPU Usage 100% High Performance Per 60 Seconds

@S.Roach 

Please follow the below steps:

1) Pass the command of cache and setup:
i) cache:disable 
ii)setup:upgrade

3) Reload frontend and backend in a browser
4) Check the cron_schedule table in your project databases
5) Please refer to this: https://meetanshi.com/blog/speed-up-magento-2/
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

View solution in original post

3 REPLIES 3

Re: Magento 2.4.2 PHP 7.4 CPU Usage 100% High Performance Per 60 Seconds

@S.Roach 

Please follow the below steps:

1) Pass the command of cache and setup:
i) cache:disable 
ii)setup:upgrade

3) Reload frontend and backend in a browser
4) Check the cron_schedule table in your project databases
5) Please refer to this: https://meetanshi.com/blog/speed-up-magento-2/
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: Magento 2.4.2 PHP 7.4 CPU Usage 100% High Performance Per 60 Seconds

Thanks @Sanjay Jethva for your suggestion, I found the reason was because of the PHP DDos attacks, fix the ini file already. I will disable the cache on my server seems performance is not enough support to upgrade to 2.4.3. I am going to take a look the blog of meetanshi for more details again, anyway big thanks again. peace!

Re: Magento 2.4.2 PHP 7.4 CPU Usage 100% High Performance Per 60 Seconds

I am facing the same issue with the same server resources ... should i increase the server resources or is it an application level issue ?