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

Very slow startup time (11 min) for GlobalBuildStats Plugin

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • Jenkins ver. 1.565, global-build-stats: 1.3, Redhat 6, SAN fs with tiers (SSD, disk, ...)

      We have problems with slow startup of Global Build Stats Plugin. We have an installation with ~1000 jobs and around 50 builds kept per job. Big, but nothing extreme.

      Could this be due to some corrupted stats file that makes it read all builds of every job, or is it ALWAYS doing that at startup?

      I've seen some bad interactions between plugins, e.g. template-project and jobConfigHistory. Where combined they cause ridiculous amount of work.

      Excerpt from Jenkins logs.

      With plugin:

      INFO: Took 665401ms for item listener hudson.plugins.global_build_stats.GlobalBuildStatsPlugin$GlobalBuildStatsItemListener startup
      INFO: Took 718900ms for complete Jenkins startup
      

      Without plugin:

      INFO: Took 57859ms for complete Jenkins startup
      

            dhinske David Krischke
            marcus_phi Marcus Philip
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: