Hello,
We have observed that whenever AEM is restarted, re-indexing is kicked off again. We keep seeing the asyncIndexUpdate messages in the log about indexing content and it goes on for 2-3 hours.
Because of which the instance takes a long time to get back up. Is this normal? Is it expected for re-indexing to be done every restart? Or is it a platform issue? We're using AEM 6.0. If this is expected, any way to turn reindexing off during startup? Please note, the reindex property is set to false on our oak indexes.
Thanks. Any help here will be much appreciated.
Solved! Go to Solution.
Are there any mentions regarding "index" before the reindexing starts? I would assume there are. But besides this, I would strongly recommend to update your Oak version.
Issue Navigator - ASF JIRA lists the fixed issues up to 1.0.40 (excluding 1.0.27 and older). And in my last project (where we used Oak 1.0/AEM 6.0) we always followed the Oak versions closely because of such issues. And at least up to 1.0.33 it was absolutly necessary for us.
btw: These long times for indexing 10k nodes (up to 14 minutes) look suspicious; are you using MongoDB or RDBMK? Or do you have a lot of assets and using an S3 blobstore? Because the indexing time looks very high. And I wonder also how these 2 blocks ("indexed N nodes ..." and "update run completed") fit; in one block it's logged, that indexing 10k nodes takes 10 minutes, while in the other indexing more than 500k nodes takes 10 minutes.
Jörg
Views
Replies
Total Likes
Talked to our support team about this -- the reply:
This is not normal
Most likely index are corrupted
When next time they stop it, they should:
Views
Replies
Total Likes
What Oak version are you using? And you are strongly recommended to upgrade to a more recent version ...
regards,
Jörg
1.0.27 oak version is used. Could you suggest any other option to temporary fix this rather than upgrade ? Appreciate any sort of suggestion. Thanks
Views
Replies
Total Likes
Hi,
Oak 1.0.27 is quite old and has some bugs, which cause strange issues; the one you mention can be one of them (don't remember all of them). I don't think that there is any other temporary solution than updating to a more recent Oak version (e.g. 1.0.39) and the final solution should be the upgrade to a newer AEM version.
To have an even more temporary workaround, we need to do a deeper analysis to understand what is happening. This behaviour is not expected. Can you post the relevant log information when the system kicks of this reindexing process? And have you already raised a ticket at Adobe support for this problem?
kind regards,
Jörg
Share the logs and issue
While starting the publisher it takes approx. 2 hours to finish the async index update. Once index updates then only server starts. Due to this server startup is taking more than 2.5 hours. Need to know why index is updated every time when server reboot. Is that something wrong? If no, then how can we skip the index update calls from publisher start?
Approx repository size is 250 GB.
Why system start forcing an index rebuild, until and unless even if I am not removing the index every time I bring AEM down
Error snapshot after in error log (using grep) :
and so on..
Views
Replies
Total Likes
Are there any mentions regarding "index" before the reindexing starts? I would assume there are. But besides this, I would strongly recommend to update your Oak version.
Issue Navigator - ASF JIRA lists the fixed issues up to 1.0.40 (excluding 1.0.27 and older). And in my last project (where we used Oak 1.0/AEM 6.0) we always followed the Oak versions closely because of such issues. And at least up to 1.0.33 it was absolutly necessary for us.
btw: These long times for indexing 10k nodes (up to 14 minutes) look suspicious; are you using MongoDB or RDBMK? Or do you have a lot of assets and using an S3 blobstore? Because the indexing time looks very high. And I wonder also how these 2 blocks ("indexed N nodes ..." and "update run completed") fit; in one block it's logged, that indexing 10k nodes takes 10 minutes, while in the other indexing more than 500k nodes takes 10 minutes.
Jörg
Views
Replies
Total Likes