Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-15858

Jenkinks UI slow due to constant build record loading

      I've noticed issues with jenkins being blocked for several minutes in recent versions (even before 1.490, it started probably like 10 versions in the past).

      Here's thread dump showing such deadlocks: https://gist.github.com/4109900

      Note that my home page is using the dashboard and several threads are blocked on:

      	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:638)
      	- waiting to lock <0x5e3afde0> (a hudson.model.RunMap)
      	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:621)
      	at jenkins.model.lazy.AbstractLazyLoadRunMap.getById(AbstractLazyLoadRunMap.java:498)
      	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:472)
      	at hudson.model.AbstractProject.getNearestOldBuild(AbstractProject.java:1025)
      	at hudson.maven.MavenModuleSetBuild.getModuleLastBuilds(MavenModuleSetBuild.java:434)
      	at hudson.maven.MavenModuleSetBuild.getResult(MavenModuleSetBuild.java:189)
      	at hudson.model.Run.getIconColor(Run.java:640)
      	at hudson.plugins.view.dashboard.stats.StatBuilds.getBuildStat(StatBuilds.java:50)
      

          [JENKINS-15858] Jenkinks UI slow due to constant build record loading

          Vincent Massol created issue -
          Vincent Massol made changes -
          Affects Version/s New: current [ 10162 ]
          Olivier Lamy made changes -
          Priority Original: Major [ 3 ] New: Blocker [ 1 ]
          Elmar Deppe made changes -
          Summary Original: Jenkinks UI blocking on some calls New: Jenkinks UI blocking on some calls / DEADLOCK
          Andrew Bayer made changes -
          Link New: This issue is blocking JENKINS-15929 [ JENKINS-15929 ]
          Andrew Bayer made changes -
          Component/s Original: dashboard-view [ 15679 ]
          Assignee Original: Peter Hayes [ petehayes ] New: Kohsuke Kawaguchi [ kohsuke ]
          Johno Crawford made changes -
          Link New: This issue is related to JENKINS-16023 [ JENKINS-16023 ]
          Johno Crawford made changes -
          Link Original: This issue is related to JENKINS-16023 [ JENKINS-16023 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-17571 [ JENKINS-17571 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-8754 [ JENKINS-8754 ]
          Jesse Glick made changes -
          Link Original: This issue is blocking JENKINS-15929 [ JENKINS-15929 ]

            jglick Jesse Glick
            vmassol Vincent Massol
            Votes:
            12 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: