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

Jenkinks UI slow due to constant build record loading

XMLWordPrintable

      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)
      

        1. jstack-vmassol-20130625.txt
          79 kB
          Vincent Massol
        2. jstack-vmassol-20130625-2.txt
          71 kB
          Vincent Massol
        3. jstack-vmassol-20130625-3.txt
          66 kB
          Vincent Massol

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

              Created:
              Updated:
              Resolved: