Magento – Magento 2 Customer Grid index is locked by another reindex process. Skipping

customerimportmagento2memoryreindex

I am importing Customer Main file details, I imported 30,000 records and about to reindexing ended up with reindexing issue.

On the first reindexing I got the following error:

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php on line 291

So i increased memory limit in my php.ini file from 512M to 2024M.

I also fee up the space in my disk but nothing works.

Any help would be appreciated.

Best Answer

Please try Get indexes info

php bin/magento indexer:info

Check the indexes status

php bin/magento indexer:status

Reset all indexes and reindex again

php bin/magento indexer:reset
php bin/magento indexer:reindex

Or reset just customer grid and reindex again

php bin/magento indexer:reset customer_grid
php bin/magento indexer:reindex customer_grid
Related Topic