Restart service before index rebuild completes?

Davin Studer Community Champion May 07, 2014

Anybody know if it is ok to restart the Confluence service before the index rebuild completes? We are wanting to give the virtual server and jvm more memory but the re-index is going very slowly. We want to do this irrespective of the re-index ... the machine just needs more but I'd rather not wait a day or two more to add it if possible.

2 answers

1 accepted

The reindex will begin all over again after the restart, because it was not completed properly.

A good thing do to - after is to perform your changes - is to perform a Rebuild from Scratch:

https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch, so you next rebuilds (using the UI) should run more quickly.

Davin Studer Community Champion May 07, 2014

It's actually doing a rebuild from scratch right now ... SLOWLY. I started it last night and it went from 0%-66% in about 10 minutes and has spend the last 9 hours getting to 67%. The server needs more RAM anyway, so hopefully adding more will help with the index rebuild faster.

How big is this confluence? 9 hours implies it's absolutely vast, or you're running it on Commodore 64...

Davin Studer Community Champion May 08, 2014

I don't think it's vast ... I'm sure it is something else like disk performance or ram ... one reason why I am adding RAM tonight.

The Commodore 64 answer then ;-)

Hi Davin,

In the worst case the index will not be completed which means that some content might not be searchable for a while (until you rebuild the indexes again).

Davin Studer Community Champion May 07, 2014

I figured that was the worst case, but should it in the best case just continue on with the rest if it hasn't been indexed yet? Or will it always require a re-index?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

372 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you