Restart service before index rebuild completes?

Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 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
Bruna Griebeler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 2014

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 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.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 7, 2014

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

Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 8, 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.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 8, 2014

The Commodore 64 answer then ;-)

0 votes
Bruna Griebeler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 2014

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 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
TAGS
AUG Leaders

Atlassian Community Events