4

I am deleting all products in my magento 2 system. There are about 1200 products in my catalog.

When I select all and delete, after 60 seconds I get a 504 Gateway Time-out on Nginx.

What are the recommeneded settings in this case?

2
  • Try raising max_execution_time setting in php.ini
    – Arunendra
    Commented Feb 21, 2017 at 13:10
  • I set that to 600 it still timesout
    – tread
    Commented Feb 22, 2017 at 7:13

1 Answer 1

2

The trick here was ensuring varnish did not timeout with:

backend default {
  .host = "127.0.0.1";
  .port = "8080";
  .first_byte_timeout = 600s;
}

As described in the docs

Then it was ensuring the nginx and php-fpm did not timeout. Ensure to add:

fastcgi_read_timeout 600;
proxy_read_timeout 600;

on both ssl and non-ssl servers

0

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.