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
Accepted answer

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:, 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
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

919 views 13 11
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