Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,304
Community Members
 
Community Events
184
Community Groups

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 vote
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.
Feb 19, 2016

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

 

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.
Feb 19, 2016

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.  

 

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.
Feb 19, 2016

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 Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events