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?
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.
> 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?
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.
And That I cleared disk cache is effectual.
echo 1 > /proc/sys/vm/drop_caches
I suspect lucene is something wrong.