Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JSWCLOUD-8775

View on Board operation slow with large amount of boards

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for JIRA Software Cloud. Using JIRA Software Server? See the corresponding suggestion.

      On a system with about 300 boards, it takes about 30 seconds for the the link View On Board to return a result.

      Diagnosis

      When reviewing thread dumps (as per Troubleshooting Performance Issues with Thread Dumps) taking during slow performance, the below stack traces can be found:

      "http-bio-8080-exec-8436" daemon prio=10 tid=0x00007f22dd940000 nid=0x6f6a runnable [0x00007f26184c5000]
         java.lang.Thread.State: RUNNABLE
      	at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:240)
      	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)
      	at org.apache.lucene.util.ReaderUtil$Gather.run(ReaderUtil.java:77)
      	at org.apache.lucene.util.ReaderUtil$Gather.run(ReaderUtil.java:82)
      	at org.apache.lucene.util.ReaderUtil$Gather.run(ReaderUtil.java:66)
      	at org.apache.lucene.search.TermQuery$TermWeight.<init>(TermQuery.java:53)
      	at org.apache.lucene.search.TermQuery.createWeight(TermQuery.java:198)
      	at org.apache.lucene.search.BooleanQuery$BooleanWeight.<init>(BooleanQuery.java:176)
      	at org.apache.lucene.search.BooleanQuery.createWeight(BooleanQuery.java:354)
      	at org.apache.lucene.search.BooleanQuery$BooleanWeight.<init>(BooleanQuery.java:176)
      	at org.apache.lucene.search.BooleanQuery.createWeight(BooleanQuery.java:354)
      	at org.apache.lucene.search.BooleanQuery$BooleanWeight.<init>(BooleanQuery.java:176)
      	at org.apache.lucene.search.BooleanQuery.createWeight(BooleanQuery.java:354)
      	at org.apache.lucene.search.BooleanQuery$BooleanWeight.<init>(BooleanQuery.java:176)
      	at org.apache.lucene.search.BooleanQuery.createWeight(BooleanQuery.java:354)
      	at org.apache.lucene.search.BooleanQuery$BooleanWeight.<init>(BooleanQuery.java:176)
      	at org.apache.lucene.search.BooleanQuery.createWeight(BooleanQuery.java:354)
      	at org.apache.lucene.search.BooleanQuery$BooleanWeight.<init>(BooleanQuery.java:176)
      	at org.apache.lucene.search.BooleanQuery.createWeight(BooleanQuery.java:354)
      	at org.apache.lucene.search.Searcher.createNormalizedWeight(Searcher.java:168)
      	at org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSearcher.java:661)
      	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:320)
      	at com.atlassian.jira.index.DelegateSearcher.search(DelegateSearcher.java:153)
      	at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.getHitCount(LuceneSearchProvider.java:247)
      	at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.searchCountOverrideSecurity(LuceneSearchProvider.java:129)
      	at sun.reflect.GeneratedMethodAccessor1832.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
      	at com.sun.proxy.$Proxy229.searchCountOverrideSecurity(Unknown Source)
      	at sun.reflect.GeneratedMethodAccessor1832.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
      	at com.sun.proxy.$Proxy229.searchCountOverrideSecurity(Unknown Source)
      	at com.atlassian.greenhopper.issue.index.FindQueriesMatchingIssueAdapter.findQueries(FindQueriesMatchingIssueAdapter.java:37)
      	at com.atlassian.greenhopper.issue.index.DefaultFindQueriesMatchingIssueAdapter.findQueries(DefaultFindQueriesMatchingIssueAdapter.java:26)
      	at com.atlassian.greenhopper.service.issue.SearchServiceImpl.findQueriesMatchingIssue(SearchServiceImpl.java:105)
      	at com.atlassian.greenhopper.service.rapid.RapidViewLocationServiceImpl.findQueriesMatchingIssue(RapidViewLocationServiceImpl.java:371)
      	at com.atlassian.greenhopper.service.rapid.RapidViewLocationServiceImpl.getRapidViewsForIssue(RapidViewLocationServiceImpl.java:158)
      	at com.atlassian.greenhopper.web.rapid.RapidViewLocationResolverFactory$IssueRapidViewLocationResolver.getRapidViewsForObject(RapidViewLocationResolverFactory.java:155)
      	at com.atlassian.greenhopper.web.rapid.RapidViewLocationResolverFactory$IssueRapidViewLocationResolver.getRapidViewsForObject(RapidViewLocationResolverFactory.java:131)
      	at com.atlassian.greenhopper.web.rapid.BoardDispatchAction._doGoToBoard(BoardDispatchAction.java:115)
      	at com.atlassian.greenhopper.web.rapid.BoardDispatchAction.doGoToBoard(BoardDispatchAction.java:56)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      

      Workaround:

      Go to Administration > Add-Ons > Manage Add-Ons > JIRA Agile and disable greenhopper-agile-issue-web-panel to prevent display of this link. This will dissuade users from using this feature.

        1. screenshot-1.png
          215 kB
          Tom Jackson

              pniewiadomski Pawel Niewiadomski (Inactive)
              a38518e05741 David Yu
              Votes:
              18 Vote for this issue
              Watchers:
              25 Start watching this issue

                Created:
                Updated:
                Resolved: