magento2 – Magento 2.3 Very high PHP FPM CPU usage

Using Magento 2.3, and after some extensive excavation, it seems that either Fotorama or another, who loads the images on the product list and on the product page, runs multiple instances of PHP-FPM at high workloads Sometimes there are some photos hanging, this can sometimes be the case and keep loading. I then need to restart the PHP FPM service so that the page loads properly with the images.

The server is a VPS with 16 GB RAM and 6 core CPU.

What should I look for next to fix the problem?