Smile-SA / elasticsuite

Smile ElasticSuite - Magento 2 merchandising and search engine built on ElasticSearch
https://elasticsuite.io
Open Software License 3.0
761 stars 341 forks source link

Catalog Search index process always fail #3016

Closed amouri82 closed 1 year ago

amouri82 commented 1 year ago

Hello,

Catalog Search indexation never end succefully.

I am using Opensearch with elasticsuite. I have 3 Vms

  1. VmM1 : Magento
  2. VM2 : Mysql
  3. VM3: Opensearch

When i configure the indexation with 1 process, i get this error message :

Catalog Search index process killed

With 2 processes,

Catalog Search index process error during indexation process:
Fail in child process

Any help please ?

Thanks

amouri82 commented 1 year ago

Re, Now when i execute the same command with memory limit in parameter,

php -dmemory_limit=15G bin/magento indexer:reindex catalogsearch_fulltext

I got :

Catalog Search index PHP Fatal error: Allowed memory size of 16106127360 bytes exhausted (tried to allocate 262144 bytes) in www/vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Helper/AbstractAttribute.php on line 172 PHP Fatal error: Allowed memory size of 16106127360 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0

romainruaud commented 1 year ago

Hi @amouri82

This is out-of-scope of the Open Source support we can provide here.

We have plenty of clients with hundreds of thousands of products running live websites with Elasticsuite without any issue.

If you are not able to run the reindexing even with 15G of RAM, that's likely to be due to :

Please ask your client 1001pneus to contact the elasticsuite team via elasticsuite@smile.fr so that we'll be able to provide them a quotation for helping on a T&M basis as part of our professional services offer.

Regards

amouri82 commented 1 year ago

Hi, Thanks for your replay. I close my requet