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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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-127.0.0.1-8000-exec-307" 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(DirectByteBuffer.java:249)
at java.nio.ByteBuffer.get(ByteBuffer.java:673)
at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:279)
at org.apache.lucene.store.MMapDirectory$MMapIndexInput.readBytes(MMapDirectory.java:289)
at org.apache.lucene.index.TermBuffer.read(TermBuffer.java:82)
at org.apache.lucene.index.SegmentTermEnum.next(SegmentTermEnum.java:131)
at org.apache.lucene.index.SegmentTermEnum.scanTo(SegmentTermEnum.java:166)
at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:273)
at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:209)
at org.apache.lucene.index.SegmentReader.docFreq(SegmentReader.java:503)
at org.apache.lucene.search.TermQuery$TermWeight$1.add(TermQuery.java:56)

...

 

We reindex regularly...

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

 

Any ideas?

2 answers

1 vote
Daniel Wester Community Leader 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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you