Fix Library: Admin and indexing

Indexers Stuck in "Processing"

Last updated:

What you see

Index Management shows an indexer as "Processing" for hours, and product or price changes do not appear on the store.

Quick answer

An indexer stays in "Processing" when a reindex was killed halfway, usually by a timeout or memory limit, and never marked itself as finished. Reset it and run the reindex again from the command line. Then make sure cron runs, so schedule based indexing keeps up.

What usually causes it?

  1. A reindex was killed by a memory limit or timeout
  2. Cron stopped, so scheduled indexing never finished
  3. Two reindex runs at the same time
  4. Very large changelog tables after a big import

How do you check it safely?

These checks only read information. Run them on staging first if you can, from the Magento root folder as the file system owner. Hosting setups differ, so paths and service names may need adjusting.

  1. Check indexer status and mode.
    bin/magento indexer:status
    bin/magento indexer:show-mode
  2. Check whether a reindex process is still running.
    ps aux | grep -i 'indexer:reindex' | grep -v grep
  3. Check that cron is running (see the cron fix page).

How do you fix it?

These steps change your store. Run them on staging first, with a backup of code and database.

  1. If no reindex is running, reset the stuck indexer.
    bin/magento indexer:reset catalogsearch_fulltext
  2. Reindex it from the command line, with enough memory.
    php -d memory_limit=4G bin/magento indexer:reindex catalogsearch_fulltext
  3. Set indexers to update by schedule and keep cron running.
    bin/magento indexer:set-mode schedule

    Some indexers, such as the customer grid, only support Update on Save, so it is normal if they stay in that mode.

When should you call an expert?

Call an expert if a reindex keeps failing, takes hours, or the store shows old prices after it finishes.

Need it fixed today?

I can look at it with you. Book a 20 minute call, or if the store is down, see emergency Magento support.

FAQ

Common questions.

Is it safe to reindex on the live store?

Yes, it is a normal task, but a full reindex is heavy. Run it at a quiet time and watch server load.

Why does "Reindex required" keep coming back?

Something keeps invalidating the index, often an import or an extension. With schedule mode and working cron, it clears on its own.

Rather have it fixed for you?

Send a few lines about the problem, or book a 20 minute call. You get an honest read and a fixed quote.

Book a 20 minute call Reply within a few hours, 7 days a week.