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)
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.
Please follow the below steps: