So right now we have a jenkins configured with over 5GB HEAP and still it takes about 20 minutes to render the dashboard.

      Afaik from my research the dashboard does not use any caching anymore. So this creates big issues on high load machines.
      We have a SSD system with about 100.000 IOPS possible and the machine is taking ages.

      Is it not better to use caching and to decide a user if he wants to wait for a forced (by user click) update of the cache? Or maybe to do it by a trigger in the times the jenkins is on low load e.g. in the night?
      Is there a way to reenable the caching for the builds again?

      Right now we cannot use jenkins and the dashboard anymore, since it is unusable slow. Hope someone can help us.
      Here (attached file log) what we could find out via /threadDump URL of jenkins. Hope it helps

          [JENKINS-29607] Dashboard loading takes ages

          Darko Palic added a comment -

          core developer have noted to get rid of the plugin (https://issues.jenkins-ci.org/browse/JENKINS-19099?focusedCommentId=232960&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-232960)

          along with the wiki entry https://wiki.jenkins-ci.org/display/JENKINS/Project+Statistics+Plugin

          for now I have to disable the project statistics plugin. Hope a fix will be incorporated soon

          Darko Palic added a comment - core developer have noted to get rid of the plugin ( https://issues.jenkins-ci.org/browse/JENKINS-19099?focusedCommentId=232960&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-232960 ) along with the wiki entry https://wiki.jenkins-ci.org/display/JENKINS/Project+Statistics+Plugin for now I have to disable the project statistics plugin. Hope a fix will be incorporated soon

          Darko Palic added a comment -

          now knowing what to do I can narrow down the issue.
          jenkins hangs now, after deinstalling project-stats plugin on sloccount-plugin

          Darko Palic added a comment - now knowing what to do I can narrow down the issue. jenkins hangs now, after deinstalling project-stats plugin on sloccount-plugin

          Oleg Nenashev added a comment -

          Another cite:

          After a short dive into project-stats-plugin I conclude the issue is totally unrelated to Jenkins core. The plugin iterates through all builds and invokes their reload => LazyLoading gets overwhelmed. See https://github.com/jenkinsci/project-stats-plugin/blob/master/src/main/java/hudson/plugins/projectstats/NumBuildsStats.java#L48-61
          Please create a new issue to project-stats-plugin

          Oleg Nenashev added a comment - Another cite: After a short dive into project-stats-plugin I conclude the issue is totally unrelated to Jenkins core. The plugin iterates through all builds and invokes their reload => LazyLoading gets overwhelmed. See https://github.com/jenkinsci/project-stats-plugin/blob/master/src/main/java/hudson/plugins/projectstats/NumBuildsStats.java#L48-61 Please create a new issue to project-stats-plugin

          Darko Palic added a comment -

          removing the plugin was the only option to get jenkins working properly again. Now the page loads in seconds

          Darko Palic added a comment - removing the plugin was the only option to get jenkins working properly again. Now the page loads in seconds

            npiguet npiguet
            cilap Darko Palic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: