Confluence Questions lucene write.lock remain

Hi,

Now, I faced with performance problem about Confluence.

Once Confluence is slow, even it Confluence is restarted, problem is not resloved.

So, I delete disk cache of Linux, problem is resolved.

I don't know what is effect to disk cache.

Currently under investigation and I find strange somthing in Confluence Questions.

There is always a write.lock in directory.

<confluence home directory>/index/quetions-edge/

It is maked when confluence is started.

Maybe this file shuld be deleted. Is it right?

Confluence 5.7.1

Best Regards

1 answer

1 votes

NO!  That file is there to prevent damage being done by trying to start other Confluence systems with the same data.  Do NOT touch it.  It is safe to delete it when Confluence is definitely stopped, but never never touch it (or any other Confluence files for that matter) while it is running.

I don't know what cache you've cleared (it's fine to clear most of them, again, while it's not running), but to be on the safe side, I would re-index Confluence through the admin UI, sometime when your users are not too active.

Thanks.

I refer to below

https://jira.atlassian.com/browse/CONF-29004

So, I think write.lock file of Confluence Questions should be deleted. 

And I have already done re-index, but problem is occured.

Many Thanks

 

No.

Do not touch the file while Confluence is running.  Stop Confluence.  Remove the file.  Restart Confluence. 

Could you explain what the actual problem is here?  What symptoms are you investigating?

> Do not touch the file while Confluence is running.  Stop Confluence.  Remove the file.  Restart Confluence. 

Understand.

Could you explain what the actual problem is here?

Suddnely, CPU load , and DB(mysql) thread is up to limit.

This problem is sometimes occured. When it is occured, I restart confluence to reslove.

But, in this case, I could not reslove problem even if I restarted confluence.

So, to reslove, we tried other ways.

  • MySQL restarted

And That I cleared disk cache is effectual.

echo 1 > /proc/sys/vm/drop_caches 

I suspect lucene is something wrong.  

 

Ok, what makes you think it is Lucene?  Have you checked the log files and the cache settings inside Confluence?

I'm sorry. I'm late.

The cause is hardware trouble. A part of memory is not good.

Thank you for your  cooperation.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

933 views 5 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot