I have a problem with my Catalog Search Indexer. I reindex all indexes by using php bin/magento indexer:reindex command but when indexer starts reindex catalog search process then I have an error that looks like this:

Warning: Error while sending a QUERY packet. PID=15931 in /var/www/outdoorzy/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php on line 305

I have changed the max_allowed_packet and wait_timeout to horrible big values in my MySQL conf file. But, it's still not working.

Have you also gone through the similar problem or have any idea why is it happening?

Note: I'm using Magento version: 2.2.9

  • Please reset indexer using php bin/magento indexer:reset and then reindex it. – Dhaduk Mitesh Nov 12 '19 at 7:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.