# Indexing keeps stuck

**URL:** <https://forum.shopware.com/t/indexing-keeps-stuck/89853>\
**Category:** Shopware 6 (English)\
**Created:** [19. August 2021 um 08:27 UTC](https://forum.shopware.com/t/indexing-keeps-stuck/89853 "2021-08-19T08:27:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JustinB](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@JustinB](https://forum.shopware.com/u/JustinB)\
**Post date:** [19. August 2021 um 08:27 UTC](https://forum.shopware.com/t/indexing-keeps-stuck/89853/1 "2021-08-19T08:27:19Z")

</div>

Hi,

My 6.4 install keeps indexing products and categories.  
This is allready running for a week, without any progress

 ![Schermafbeelding 2021-08-18 om 13.56.40](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/f/f030d87bb37d38528f56507333c22954a72ed9d2.png)

If i check the logs i see the following error  
**Reached max depth, aborting** from Treeupdater.php

Any idea where this goes wrong? And ideas how to debug this?

thanks in advance!

---

<div class="post-metadata">

**Author:** ![PatrickHoelscher](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/patrickhoelscher/32/21102_2.png) [@PatrickHoelscher](https://forum.shopware.com/u/PatrickHoelscher)\
**Post date:** [15. September 2021 um 12:23 UTC](https://forum.shopware.com/t/indexing-keeps-stuck/89853/2 "2021-09-15T12:23:25Z")

</div>

Hey @JustinB,

using the queue when generating/refreshing the index could help you. The following command should do the trick.  
`php bin/console dal:refresh:index --use-queue`

Kind regards,  
Patrick

---

<div class="post-metadata">

**Author:** ![cschmitt](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@cschmitt](https://forum.shopware.com/u/cschmitt)\
**Post date:** [27. September 2021 um 07:09 UTC](https://forum.shopware.com/t/indexing-keeps-stuck/89853/3 "2021-09-27T07:09:34Z")

</div>

Hi,  
I had the same Problem.  
In 6.4 was an error with custom fields and the index generation.

With the update to 6.4.4.0 this problem was solved.  
See also:

> **[Shopware Issuetracker](https://issues.shopware.com/issues/NEXT-16301)**
