Performance issues with catalog_data_exporter_products
indexer #25
Open
Description
There's a performance issue with the module magento/module-catalog-data-exporter
, it takes more than 1 hour on processing catalog_data_exporter_products
indexer, when the reindex happen through cron, the indexer takes so long that it puts in backlog other indexers scheduled after this one, see below image:
The issue seems to be related to out of memory issues when a few crons are scheduled at similar time to catalog_data_exporter_products
indexer
Preconditions (*)
- Magento Cloud 2.4.3-p2 (it happens also in version 2.4.6, but we have widely tested in 2.4.3-p2)
- 40000 skus, 20 stores
- Install Adobe Product Recommendations (https://experienceleague.adobe.com/docs/commerce-merchant-services/live-search/guide-overview.html) and/or Adobe Live Search (https://experienceleague.adobe.com/docs/commerce-merchant-services/live-search/guide-overview.html)
Steps to reproduce (*)
- Have all indexers in mode: Update by schedule
- Having cron running indexers, from time to time there'll be memory issues and
catalog_data_exporter_products
will keep status = Working and multiple items in backlog (the issue specially could happen after massive products changes, eg. adding a catalog price rule which affects multiple products for multiple stores)
Expected result (*)
- Indexers should be processed correctly by cron and in a not escessive amount of time (at least
catalog_data_exporter_products
should be executed in much less than 1 hour in order not to backlog next scheduled indexers)
Actual result (*)
catalog_data_exporter_products
will keep status = Working and multiple items in backlog, see below screenshot
Metadata
Assignees
Labels
No labels