Fehler beim Aufbauen des Such-Index

Moin,

derzeit gibt es bei uns im Shop Probleme mit dem erstellen des Such-Index… Wenn ich über das Backend versuche, den Index neu aufzubauen, startet der Prozess zwar, bleibt aber anschließend gleich stehen und gibt vor, fertig zu sein.

Wenn ich den Index über die Console über sw:refresh:search:index neu aufbaue, startet auch hier der Prozess. Anschließend kommen aber viele Fehlermeldungen im Format:

UNION ALL

SELECT sk.id as keywordID, 13896 as elementID, 5 as fieldID FROM s_search_keywords sk WHERE sk.keyword IN (‘ck15008’)

Abschließend erscheint die Meldung:

[PDOException]
  SQLSTATE[42000]: Syntax error or access violation: 1064 memory exhausted near ‘sk.id as keywordID, 13897 as elementID, 5 as fieldID FROM s_search_keywords sk W’ at line 15995

Hat jemand eine Idee, woran es liegen könnte? Hier im Forum habe ich gelesen, dass es an der Einstellung des thread_stack liegen kann. Diese wurde bereits auf 800k gesetzt, ohne Erfolg…

Gruß
Henrik

Konntest du das Problem lösen? Ich habe es seid dem Update 5.5.10. auch bei zwei Shops! Die Lösung daszu würde mich brennend interessieren! 

Habe das gleiche Problem, wäre klasse wenn jamnd hier eine Lösung hat.

 

Ich würde das Thema gern mal pushen, ich habe das gleiche problem. 

hier das gleiche Problem SW 5.5.8

 

Hallo, habe das gleiche Problem.

3xCritical

  • Category not found

  • An exception occurred while executing 'INSERT … Text am Ende:

  • An exception occurred while executing 'INSERT … Text am Ende:

    SQLSTATE(42000): Syntax error or access violation: 1064 memory exhausted near ‚sk.id as keywordID, 4043 as elementID, 5 as fieldID FROM s_search_keywords sk WH‘ at line 15995

gefolgt von 1x ERROR

PDOException: SQLSTATE(42000): Syntax error or access violation: 1064 memory exhausted near 'sk.id as keywordID, 4043 as elementID, 5 as fieldID FROM s_search_keywords sk WH' at line 15995 in /vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:1062 Stack trace:
#0 /vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1062): PDO->exec()
#1 /engine/Shopware/Bundle/SearchBundleDBAL/SearchTerm/SearchIndexer.php(223): Doctrine\DBAL\Connection->executeUpdate()
#2 /engine/Shopware/Plugins/Default/Core/RebuildIndex/Controllers/SearchIndex.php(38): Shopware\Bundle\SearchBundleDBAL\SearchTerm\SearchIndexer->build()
#3 /engine/Library/Enlight/Controller/Action.php(192): Shopware_Controllers_Backend_SearchIndex->buildAction()
#4 /engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight_Controller_Action->dispatch()
#5 /engine/Library/Enlight/Controller/Front.php(228): Enlight_Controller_Dispatcher_Default->dispatch()
#6 /engine/Shopware/Kernel.php(188): Enlight_Controller_Front->dispatch()
#7 /vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle()
#8 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(453): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
#9 /engine/Shopware/Components/HttpCache/AppCache.php(261): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
#10 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache->forward()
#11 /engine/Shopware/Components/HttpCache/AppCache.php(102): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass()
#12 /var/www/clients/client1/web1/web/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle()
#13

Hat jemand eine Lösung? Danke und Gruss.

SW 5.6.6.
PHP 7.4.3
nginx bei Timme

Versuch’ bitte mal folgendes in der config.php:

 'search' => [
        'indexer' => [
            'batchsize' => 3250,
        ],
    ],

 

Timme Hosting - schnelles nginx-Hosting

www.timmehosting.de

2 „Gefällt mir“

Hatte das gleiche Problem, nach der Ergänzung in der config.php läuft die Generierung des Indexes wieder durch.

Danke! :slightly_smiling_face: