cancel
Showing results for 
Search instead for 
Did you mean: 

php-fpm CPU usage 100% when click save on product, category etc

php-fpm CPU usage 100% when click save on product, category etc

Hello,

I have Magento 2.4 installed on VPS with 6 CPU and 6GB ram with Ubuntu 20.04 with php version 8.1 and php-fpm

 

In Magento dashboard if we save anything (product, category etc), the save process take very long and when we run "top" command on vps we see CPU usage 100% from php-fpm.

 

We try this with new installation, default theme and this problem persist.

 

Can you help us please? (if you need more information, please tell us an I will post it here)

2 REPLIES 2

Re: php-fpm CPU usage 100% when click save on product, category etc

Hello @flaviuuny 

 

Please set indexer to the update on save to update on a schedule.

 

to do that go to system>> index management and select all indexer data from the action set as an update on save.

 

If my answer is helpful full then please set the accept solution flag and kudos flag so other members can take the same reference.

Re: php-fpm CPU usage 100% when click save on product, category etc

Hello @flaviuuny 

 

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/
 
It may help you!
Thank you
Problem solved? Click Accept as Solution!