cancel
Showing results for 
Search instead for 
Did you mean: 

Saving products is very slow (minutes)

Saving products is very slow (minutes)

Hello,

For several days my backend takes minutes for saving and generating products.

 

I have this message in my logs :

 

[2019-05-13 08:25:06] main.CRITICAL: Read timed out after 10 seconds {"method":"POST","url":"http://XXX/admin/catalog/product/save/type/simple/store/0/set/4/key/3f8d5c232e1008b42d7776c86bae57cbc8d6da89081040a13e0e01b667a45deb/back/edit","invalidateInfo":{"server":"[object] (Zend\\Uri\\Uri: http://localhost:6082/)","tagsPattern":"((^|,)cat_p_1168(,|$))"}} []

 

I'm on magento 2.2.5

 

PS : I'm using varnish cache.

I have this error after a few minutes :

 

 

Error 503 Backend fetch failed

Backend fetch failed
Guru Meditation:

XID: 1742759

Varnish cache server

 

2 REPLIES 2

Re: Saving products is very slow (minutes)

Hello @morgan_tartreau1 

 

Speedup save product depends on the number of params

 

first check any third party module are using that is related to the product

 

check any product using

catalog_product_save_after 

event into any module

find using below command

grep -Ril "catalog_product_save_after" app/

try to comment that observer and check it

if speed increase then it will be an issue with third-party plugin.

 

If the help you then mark as a solution.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Saving products is very slow (minutes)

Thanks for your help, but unfortunatly none of my third party module is using this

 

catalog_product_save_after

but i've checked anyway with your command