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

Slow Performance with Category View Plugin

XMLWordPrintable

      Issue seems to be related to to AbstractLazyLoadRunMap blocking when categorised view is used. This is causing Jenkins to backup while waiting for unblock. Causing page load times to slow down.

      Logs:

      2015-12-15_03:16:10.77157 "Handling GET /job/MyJob/ : http-8082-1 View/index.jelly StatusColumn/column.jelly" #17 daemon prio=5 os_prio=0 tid=0x00007f236c004800 nid=0x7b79 waiting for monitor entry [0x00007f239951b000]
      2015-12-15_03:16:10.77158    java.lang.Thread.State: BLOCKED (on object monitor)
      2015-12-15_03:16:10.77158 	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:465)
      2015-12-15_03:16:10.77159 	- waiting to lock <0x00000000de0dee38> (a hudson.model.RunMap)
      2015-12-15_03:16:10.77159 	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:448)
      2015-12-15_03:16:10.77160 	at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:356)
      2015-12-15_03:16:10.77161 	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:332)
      2015-12-15_03:16:10.77161 	at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:274)
      2015-12-15_03:16:10.77162 	at jenkins.model.lazy.LazyBuildMixIn.getLastBuild(LazyBuildMixIn.java:240)
      2015-12-15_03:16:10.77164 	at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:985)
      2015-12-15_03:16:10.77165 	at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:144)
      2015-12-15_03:16:10.77166 	at hudson.model.Job.getIconColor(Job.java:1053)
      2015-12-15_03:16:10.77166 	at hudson.model.AbstractProject.getIconColor(AbstractProject.java:738)
      2015-12-15_03:16:10.77167 	at org.jenkinsci.plugins.categorizedview.GroupTopLevelItem.getIconColor(GroupTopLevelItem.java:87)
      

      Cause on last line.

      To reproduce:

      • 100+ build history
      • Slow Disk (not sure how to apply this to a test at the moment)

      Plugin: categorized-view:1.8
      Jenkins: 1.609

            owood Owen Wood
            owood Owen Wood
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: