4

Using Magento 2.3 and after some extensive digging, it seems that either fotorama or another that loads the images on product list and product page runs several instances of PHP-FPM all at high usage, if there are a few photos on the product it can sometimes hang and keep loading. I then have to restart the PHP-FPM service for the page to load properly with the images.

The server is a VPS, running 16GB RAM and 6 Core CPU.

What should i be looking for next to fix this?

1 Answer 1

0

These some solution for this case, you can check.

  1. Disable Signed content (Don't need for developer mode)

    insert into core_config_data (scope, scope_id, path, value) values ('default',0, 'dev/static/sign', 0);

  2. Make sure you have used SSD for store Magento 2 Source Code.

  3. Make sure you have used the latest MySQL version.

  4. You are developing, please enable developer mode and doing step 1.

  5. If your site got too many products, please run php bin/magento catalog:image:resize

  6. The suggestion is Use Redis cache and saves the session to DB or Redis

3
  • Thank you Hoang, since you wrote this i have done the following: Upgraded the server from centos 6 to 7, installed Litespeed enterprise alongside LiteMage and have noticed a slight improvement in image loading times but not huge. The catalog:image:resize has been running now for 23 hours currently on 30650 / 96454....will wait for it to finish and report back. :) Commented Feb 24, 2019 at 10:04
  • Let us know what did the trick!
    – snh_nl
    Commented Apr 22, 2019 at 12:58
  • 3
    He is probably still waiting for catalog:image:resize to finish. Commented Jun 12, 2019 at 22:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.