Is Lucene query provider tunable?

We are seeing very slow performance that all seem to point to the Lucene search engine using JIRA 6.3.  Our JIRA instance is running on a 32CPUx84GB machine, with 24GB configured for the JVM.  Despite not seeing any indicators that there is a resource shortage on the server, accessing Jira through the web interface is slow.  Browsing a project summary takes 26-30 seconds to respond.  While the searches take that long to return , the load average on the host is 0.77, and there are 0 processes with any IOWait percentage. 


If I do a thread dump there are 16 threads in this same place:

"http-bio-" daemon prio=10 tid=0x00007fe3c0001000 nid=0x21aa runnable [0x00007fe6f7b83000]
java.lang.Thread.State: RUNNABLE
at sun.misc.Unsafe.getByte(Native Method)
at java.nio.DirectByteBuffer.get(
at java.nio.ByteBuffer.get(
at java.nio.DirectByteBuffer.get(
at org.apache.lucene.index.SegmentTermEnum.scanTo(
at org.apache.lucene.index.TermInfosReader.get(
at org.apache.lucene.index.TermInfosReader.get(
at org.apache.lucene.index.SegmentReader.docFreq(



We reindex regularly...

If I turn on Profiling, the Lucene search provider typically uses about 98% of the time.


Any ideas?

1 answer

0 votes
Daniel Wester Community Champion Mar 09, 2015

Where is the JIRA home directory hosted and have you look at it's performance?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,292 views 5 10
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