High CPU Usage on master while slaves working (multijob)

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: multijob-plugin
    • None
    • Environment:
      Ubuntu 12.04, Oracle Java 7
      java version "1.7.0_51"
      Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

      When a slave is running a build in a multijob plugin, the monitoring thread on the master eats up 100% of a CPU core.
      This scales linearly-- so when I have 4 parallel jobs running, jenkins master is using 400% cpu.

      Attaching screen cap of profiler output, as well as YourKit profiler snapshot.

        1. ProfilerStackTrace.jpg
          645 kB
          greg smolyn
        2. jenkins.war-2014-02-04-2.snapshot
          8.57 MB
          greg smolyn

            Assignee:
            itai Or
            Reporter:
            greg smolyn
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: