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

0 votes
Answer 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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,505 views 4 13
Read article

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