Details

    • Similar Issues:

      Description

      I'm using the official docker image, no customisation.
      After the update to the 2.0, the Jenkins CPU usage has increased from near 2% to 40%.
      I get CPU spikes navigating the UI for example in http://<JENKINS_ENDPOINT>/configure, the scheduled job seems not to have this behaviours.

        Attachments

          Activity

          ltagliamonte Luigi Tagliamonte created issue -
          ltagliamonte Luigi Tagliamonte made changes -
          Field Original Value New Value
          Description I'm using the official docker image, no customisation.
          After the update to the 2.0, the Jenkins CPU usage has increased from near 2% to 40%.
          I get CPU spikes navigating the UI, the scheduled job seems not to have this behaviours.
          I'm using the official docker image, no customisation.
          After the update to the 2.0, the Jenkins CPU usage has increased from near 2% to 40%.
          I get CPU spikes navigating the UI for example in http://&lt;JENKINS_ENDPOINT&gt;/configure, the scheduled job seems not to have this behaviours.
          danielbeck Daniel Beck made changes -
          Labels 2.0 regression
          Hide
          danielbeck Daniel Beck added a comment -
          Show
          danielbeck Daniel Beck added a comment - Tom FENNELLY Keith Zantow gus reiber PTAL
          Hide
          kzantow Keith Zantow added a comment -

          Some of the new UI will definitely use more CPU on the client side, I don't think this is critical or a regression, but rather an expected byproduct of increased rich client UI.

          Show
          kzantow Keith Zantow added a comment - Some of the new UI will definitely use more CPU on the client side, I don't think this is critical or a regression, but rather an expected byproduct of increased rich client UI.
          Hide
          ltagliamonte Luigi Tagliamonte added a comment -

          I'm running Jenkins master on a t2.small instance the CPU usage is consuming all the instance credits. The new UI is nicer than the old one but spikes of 40%of CPU for the configure page seems not right on my end.

          Show
          ltagliamonte Luigi Tagliamonte added a comment - I'm running Jenkins master on a t2.small instance the CPU usage is consuming all the instance credits. The new UI is nicer than the old one but spikes of 40%of CPU for the configure page seems not right on my end.
          Hide
          kzantow Keith Zantow added a comment -

          Luigi Tagliamonte have you compared this to the previous 1.x release? The code actually rendering the page on the server side doesn't have significant changes as far as I know. What plugins do you have installed?

          Show
          kzantow Keith Zantow added a comment - Luigi Tagliamonte have you compared this to the previous 1.x release? The code actually rendering the page on the server side doesn't have significant changes as far as I know. What plugins do you have installed?
          Hide
          ltagliamonte Luigi Tagliamonte added a comment -

          I was not experiencing this behaviour with 1.X release.
          following the list of the installed plugins:

          MapDB API Plugin (mapdb-api): 1.0.6.0
          GitHub Branch Source Plugin (github-branch-source): 1.6
          Javadoc Plugin (javadoc): 1.3
          Pipeline: REST API Plugin (pipeline-rest-api): 1.3
          Gradle plugin (gradle): 1.24
          SSH Agent Plugin (ssh-agent): 1.10
          CVS Plug-in (cvs): 2.12
          Pipeline: Basic Steps (workflow-basic-steps): 2.0
          JavaScript GUI Lib: Handlebars bundle plugin (handlebars): 1.1.1
          JUnit Plugin (junit): 1.13
          Amazon Web Services SDK (aws-java-sdk): 1.10.45
          SSH Slaves plugin (ssh-slaves): 1.11
          Token Macro Plugin (token-macro): 1.12.1
          JavaScript GUI Lib: Moment.js bundle plugin (momentjs): 1.1.1
          Git plugin (git): 2.4.4
          JavaScript GUI Lib: ACE Editor bundle plugin (ace-editor): 1.1
          LDAP Plugin (ldap): 1.12
          Git server plugin (git-server): 1.6
          Mailer Plugin (mailer): 1.17
          Job DSL (job-dsl): 1.44
          Pipeline: Stage Step (pipeline-stage-step): 2.1
          Script Security Plugin (script-security): 1.19
          Git client plugin (git-client): 1.19.6
          Parameterized Trigger plugin (parameterized-trigger): 2.30
          Naginator (naginator): 1.17
          SSH Credentials Plugin (ssh-credentials): 1.11
          Pipeline: Build Step (pipeline-build-step): 2.0
          Multiple SCMs plugin (multiple-scms): 0.6
          Run Condition Plugin (run-condition): 1.0
          Pipeline: Multibranch (workflow-multibranch): 2.3
          Amazon EC2 plugin (ec2): 1.31
          PAM Authentication plugin (pam-auth): 1.2
          Branch API Plugin (branch-api): 1.7
          Pipeline (workflow-aggregator): 2.1
          Node Iterator API Plugin (node-iterator-api): 1.5
          Pipeline: Stage View Plugin (pipeline-stage-view): 1.3
          Flexible Publish Plugin (flexible-publish): 0.15.2
          Translation Assistance plugin (translation): 1.14
          SCM API Plugin (scm-api): 1.2
          Matrix Reloaded Plugin (matrix-reloaded): 1.1.3
          Windows Slaves Plugin (windows-slaves): 1.1
          Role-based Authorization Strategy (role-strategy): 2.2.0
          Matrix Authorization Strategy Plugin (matrix-auth): 1.3.2
          conditional-buildstep (conditional-buildstep): 1.3.3
          Pipeline: Supporting APIs (workflow-support): 2.0
          Plain Credentials Plugin (plain-credentials): 1.1
          Maven Integration plugin (maven-plugin): 2.12.1
          Ant Plugin (ant): 1.2
          External Monitor Job Type Plugin (external-monitor-job): 1.4
          Amazon SNS Build Notifier (snsnotify): 1.13
          GitHub plugin (github): 1.19.0
          Post-Build Script Plug-in (postbuildscript): 0.17
          Subversion Plug-in (subversion): 2.5.7
          Pipeline: Step API (workflow-step-api): 2.0
          Pipeline: Groovy (workflow-cps): 2.2
          Any Build Step Plugin (any-buildstep): 0.1
          Structs Plugin (structs): 1.1
          Matrix Project Plugin (matrix-project): 1.6
          Pipeline: SCM Step (workflow-scm-step): 2.0
          Pipeline: API (workflow-api): 2.0
          Pipeline: Shared Groovy Libraries (workflow-cps-global-lib): 2.0
          Folders Plugin (cloudbees-folder): 5.9
          Credentials Plugin (credentials): 1.28
          jQuery plugin (jquery): 1.11.2-0
          Google Login Plugin (google-login): 1.2.1
          GitHub Organization Folder Plugin (github-organization-folder): 1.3
          GitHub API Plugin (github-api): 1.75
          Icon Shim Plugin (icon-shim): 2.0.3
          build timeout plugin (build-timeout): 1.16
          OWASP Markup Formatter Plugin (antisamy-markup-formatter): 1.3
          Pipeline: Input Step (pipeline-input-step): 2.0
          Pipeline: Nodes and Processes (workflow-durable-task-step): 2.0
          Pipeline: Job (workflow-job): 2.1
          Durable Task Plugin (durable-task): 1.9
          Jackson 2 API Plugin (jackson2-api): 2.7.3
          JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin (jquery-detached): 1.2.1
          Slack Notification Plugin (slack): 1.8
          Result: [Plugin:mapdb-api, Plugin:github-branch-source, Plugin:javadoc, Plugin:pipeline-rest-api, Plugin:gradle, Plugin:ssh-agent, Plugin:cvs, Plugin:workflow-basic-steps, Plugin:handlebars, Plugin:junit, Plugin:aws-java-sdk, Plugin:ssh-slaves, Plugin:token-macro, Plugin:momentjs, Plugin:git, Plugin:ace-editor, Plugin:ldap, Plugin:git-server, Plugin:mailer, Plugin:job-dsl, Plugin:pipeline-stage-step, Plugin:script-security, Plugin:git-client, Plugin:parameterized-trigger, Plugin:naginator, Plugin:ssh-credentials, Plugin:pipeline-build-step, Plugin:multiple-scms, Plugin:run-condition, Plugin:workflow-multibranch, Plugin:ec2, Plugin:pam-auth, Plugin:branch-api, Plugin:workflow-aggregator, Plugin:node-iterator-api, Plugin:pipeline-stage-view, Plugin:flexible-publish, Plugin:translation, Plugin:scm-api, Plugin:matrix-reloaded, Plugin:windows-slaves, Plugin:role-strategy, Plugin:matrix-auth, Plugin:conditional-buildstep, Plugin:workflow-support, Plugin:plain-credentials, Plugin:maven-plugin, Plugin:ant, Plugin:external-monitor-job, Plugin:snsnotify, Plugin:github, Plugin:postbuildscript, Plugin:subversion, Plugin:workflow-step-api, Plugin:workflow-cps, Plugin:any-buildstep, Plugin:structs, Plugin:matrix-project, Plugin:workflow-scm-step, Plugin:workflow-api, Plugin:workflow-cps-global-lib, Plugin:cloudbees-folder, Plugin:credentials, Plugin:jquery, Plugin:google-login, Plugin:github-organization-folder, Plugin:github-api, Plugin:icon-shim, Plugin:build-timeout, Plugin:antisamy-markup-formatter, Plugin:pipeline-input-step, Plugin:workflow-durable-task-step, Plugin:workflow-job, Plugin:durable-task, Plugin:jackson2-api, Plugin:jquery-detached, Plugin:slack]
          
          Show
          ltagliamonte Luigi Tagliamonte added a comment - I was not experiencing this behaviour with 1.X release. following the list of the installed plugins: MapDB API Plugin (mapdb-api): 1.0.6.0 GitHub Branch Source Plugin (github-branch-source): 1.6 Javadoc Plugin (javadoc): 1.3 Pipeline: REST API Plugin (pipeline- rest -api): 1.3 Gradle plugin (gradle): 1.24 SSH Agent Plugin (ssh-agent): 1.10 CVS Plug-in (cvs): 2.12 Pipeline: Basic Steps (workflow-basic-steps): 2.0 JavaScript GUI Lib: Handlebars bundle plugin (handlebars): 1.1.1 JUnit Plugin (junit): 1.13 Amazon Web Services SDK (aws-java-sdk): 1.10.45 SSH Slaves plugin (ssh-slaves): 1.11 Token Macro Plugin (token-macro): 1.12.1 JavaScript GUI Lib: Moment.js bundle plugin (momentjs): 1.1.1 Git plugin (git): 2.4.4 JavaScript GUI Lib: ACE Editor bundle plugin (ace-editor): 1.1 LDAP Plugin (ldap): 1.12 Git server plugin (git-server): 1.6 Mailer Plugin (mailer): 1.17 Job DSL (job-dsl): 1.44 Pipeline: Stage Step (pipeline-stage-step): 2.1 Script Security Plugin (script-security): 1.19 Git client plugin (git-client): 1.19.6 Parameterized Trigger plugin (parameterized-trigger): 2.30 Naginator (naginator): 1.17 SSH Credentials Plugin (ssh-credentials): 1.11 Pipeline: Build Step (pipeline-build-step): 2.0 Multiple SCMs plugin (multiple-scms): 0.6 Run Condition Plugin (run-condition): 1.0 Pipeline: Multibranch (workflow-multibranch): 2.3 Amazon EC2 plugin (ec2): 1.31 PAM Authentication plugin (pam-auth): 1.2 Branch API Plugin (branch-api): 1.7 Pipeline (workflow-aggregator): 2.1 Node Iterator API Plugin (node-iterator-api): 1.5 Pipeline: Stage View Plugin (pipeline-stage-view): 1.3 Flexible Publish Plugin (flexible-publish): 0.15.2 Translation Assistance plugin (translation): 1.14 SCM API Plugin (scm-api): 1.2 Matrix Reloaded Plugin (matrix-reloaded): 1.1.3 Windows Slaves Plugin (windows-slaves): 1.1 Role-based Authorization Strategy (role-strategy): 2.2.0 Matrix Authorization Strategy Plugin (matrix-auth): 1.3.2 conditional-buildstep (conditional-buildstep): 1.3.3 Pipeline: Supporting APIs (workflow-support): 2.0 Plain Credentials Plugin (plain-credentials): 1.1 Maven Integration plugin (maven-plugin): 2.12.1 Ant Plugin (ant): 1.2 External Monitor Job Type Plugin (external-monitor-job): 1.4 Amazon SNS Build Notifier (snsnotify): 1.13 GitHub plugin (github): 1.19.0 Post-Build Script Plug-in (postbuildscript): 0.17 Subversion Plug-in (subversion): 2.5.7 Pipeline: Step API (workflow-step-api): 2.0 Pipeline: Groovy (workflow-cps): 2.2 Any Build Step Plugin (any-buildstep): 0.1 Structs Plugin (structs): 1.1 Matrix Project Plugin (matrix-project): 1.6 Pipeline: SCM Step (workflow-scm-step): 2.0 Pipeline: API (workflow-api): 2.0 Pipeline: Shared Groovy Libraries (workflow-cps-global-lib): 2.0 Folders Plugin (cloudbees-folder): 5.9 Credentials Plugin (credentials): 1.28 jQuery plugin (jquery): 1.11.2-0 Google Login Plugin (google-login): 1.2.1 GitHub Organization Folder Plugin (github-organization-folder): 1.3 GitHub API Plugin (github-api): 1.75 Icon Shim Plugin (icon-shim): 2.0.3 build timeout plugin (build-timeout): 1.16 OWASP Markup Formatter Plugin (antisamy-markup-formatter): 1.3 Pipeline: Input Step (pipeline-input-step): 2.0 Pipeline: Nodes and Processes (workflow-durable-task-step): 2.0 Pipeline: Job (workflow-job): 2.1 Durable Task Plugin (durable-task): 1.9 Jackson 2 API Plugin (jackson2-api): 2.7.3 JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin (jquery-detached): 1.2.1 Slack Notification Plugin (slack): 1.8 Result: [Plugin:mapdb-api, Plugin:github-branch-source, Plugin:javadoc, Plugin:pipeline- rest -api, Plugin:gradle, Plugin:ssh-agent, Plugin:cvs, Plugin:workflow-basic-steps, Plugin:handlebars, Plugin:junit, Plugin:aws-java-sdk, Plugin:ssh-slaves, Plugin:token-macro, Plugin:momentjs, Plugin:git, Plugin:ace-editor, Plugin:ldap, Plugin:git-server, Plugin:mailer, Plugin:job-dsl, Plugin:pipeline-stage-step, Plugin:script-security, Plugin:git-client, Plugin:parameterized-trigger, Plugin:naginator, Plugin:ssh-credentials, Plugin:pipeline-build-step, Plugin:multiple-scms, Plugin:run-condition, Plugin:workflow-multibranch, Plugin:ec2, Plugin:pam-auth, Plugin:branch-api, Plugin:workflow-aggregator, Plugin:node-iterator-api, Plugin:pipeline-stage-view, Plugin:flexible-publish, Plugin:translation, Plugin:scm-api, Plugin:matrix-reloaded, Plugin:windows-slaves, Plugin:role-strategy, Plugin:matrix-auth, Plugin:conditional-buildstep, Plugin:workflow-support, Plugin:plain-credentials, Plugin:maven-plugin, Plugin:ant, Plugin:external-monitor-job, Plugin:snsnotify, Plugin:github, Plugin:postbuildscript, Plugin:subversion, Plugin:workflow-step-api, Plugin:workflow-cps, Plugin:any-buildstep, Plugin:structs, Plugin:matrix-project, Plugin:workflow-scm-step, Plugin:workflow-api, Plugin:workflow-cps-global-lib, Plugin:cloudbees-folder, Plugin:credentials, Plugin:jquery, Plugin:google-login, Plugin:github-organization-folder, Plugin:github-api, Plugin:icon-shim, Plugin:build-timeout, Plugin:antisamy-markup-formatter, Plugin:pipeline-input-step, Plugin:workflow-durable-task-step, Plugin:workflow-job, Plugin:durable-task, Plugin:jackson2-api, Plugin:jquery-detached, Plugin:slack]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 170816 ] JNJira + In-Review [ 184056 ]
          shanek Shane Kilkelly made changes -
          Hide
          shanek Shane Kilkelly added a comment - - edited

          I've got the same problem, the jenkins UI (2.26) is pegging 100% of a CPU, while completely idle.

           

          A simple CPU profile in Chrome show's 99% of time is spent in Timer-Fired, indicating there's some wild timer abuse happening on the page.

           

           

          This is seriously bad, I can't open the Jenkins UI without my laptop fans blazing.

          Show
          shanek Shane Kilkelly added a comment - - edited I've got the same problem, the jenkins UI (2.26) is pegging 100% of a CPU, while completely idle.   A simple CPU profile in Chrome show's 99% of time is spent in Timer-Fired, indicating there's some wild timer abuse happening on the page.     This is seriously bad, I can't open the Jenkins UI without my laptop fans blazing.
          Hide
          ximei Ximei Zhang added a comment -

          We have been experiencing some high CPU issue on our jenkins server for quite a while. Among all the running thread, one of the jenkins.util.Timer thread consumes high CPU usage. There are 10 jenkins.util.Timer thread running, the rest 9 thread consume less than 1% CPU. Anyone has any idea about this?

          Show
          ximei Ximei Zhang added a comment - We have been experiencing some high CPU issue on our jenkins server for quite a while. Among all the running thread, one of the jenkins.util.Timer thread consumes high CPU usage. There are 10 jenkins.util.Timer thread running, the rest 9 thread consume less than 1% CPU. Anyone has any idea about this?

            People

            • Assignee:
              Unassigned
              Reporter:
              ltagliamonte Luigi Tagliamonte
            • Votes:
              5 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated: