Hi,
I have a situation where my server CPU utilization starts increasing and stays on for a very long time (haven't measured exactly how long, i have see it high for about 1-2 hrs)
JIRA becomes unresponsive and everything seems to fall back to normal upon restart
I took thread dumps(20 every 3 seconds ) during the hign CPU time and i get the below stack for all the long running threads
I am not able to figureout, why high CPU utilization stays on for a very long time and comes back to normal after restart.
Most of these long running threads originate from , JIRA Ajile, gadgets, Script Runner other JQLs
at sun.misc.Unsafe.getByte(Native Method) at java.nio.DirectByteBuffer.get(Unknown Source) at java.nio.ByteBuffer.get(Unknown Source) at java.nio.DirectByteBuffer.get(Unknown Source) 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 com.atlassian.jira.issue.search.parameters.lucene.sort.JiraLuceneFieldFinder.getMatches(JiraLuceneFieldFinder.java:232) at com.atlassian.jira.issue.search.parameters.lucene.sort.JiraLuceneFieldFinder.getUniqueMatches(JiraLuceneFieldFinder.java:184) at com.atlassian.jira.issue.statistics.util.OneDimensionalObjectHitCollector.setNextReader(OneDimensionalObjectHitCollector.java:92) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:531) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:320) at com.atlassian.jira.index.DelegateSearcher.search(DelegateSearcher.java:153)
thanks in advanace.