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

master uses 100% cpu in jenkinsci.plugins.pubsub.listeners.SyncQueueListener()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      jenkins 52.0
      blueocean 1.0.0-b22
      pubsub-light 1.6

      OS: ubuntu 16.04 xenial
      JAVA: openjdk 1.8.0
    • Epic Link:
    • Sprint:
      iapetus
    • Similar Issues:

      Description

      During a build with a heavy log the master pubsub publisher thread has one core pegged at 100% in:
      org.jenkinsci.plugins.pubsub.listeners.SyncQueueListener$1.run(SyncQueueListener.java:103)

      Note that no browser is connected to jenkins over HTTP at the time.

      This warrants investigation cc Tom FENNELLY

        Attachments

          Issue Links

            Activity

            Hide
            michaelneale Michael Neale added a comment -

            Update center is currently a bit broken, so this isn't avialable to everyone yet but will be.

            Show
            michaelneale Michael Neale added a comment - Update center is currently a bit broken, so this isn't avialable to everyone yet but will be.
            Hide
            tfennelly Tom FENNELLY added a comment -

            merged upstream

            Show
            tfennelly Tom FENNELLY added a comment - merged upstream
            Hide
            michaelneale Michael Neale added a comment -

            Thanks for PR and release quickly all!

            Show
            michaelneale Michael Neale added a comment - Thanks for PR and release quickly all!
            Hide
            tfennelly Tom FENNELLY added a comment -

            pubsub released and PR on blueocean: https://github.com/jenkinsci/blueocean-plugin/pull/799

            People will be able to update this plugin without updating everything else.

            Thanks for the fix Szymon J.

            Show
            tfennelly Tom FENNELLY added a comment - pubsub released and PR on blueocean: https://github.com/jenkinsci/blueocean-plugin/pull/799 People will be able to update this plugin without updating everything else. Thanks for the fix Szymon J .
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Szymon Jakubczak
            Path:
            src/main/java/org/jenkinsci/plugins/pubsub/listeners/SyncQueueListener.java
            http://jenkins-ci.org/commit/pubsub-light-module/71fa32f717d2dc1feee65478043baa507a1a4dfc
            Log:
            JENKINS-41832 Fix spinning in SyncQueueListener (#6)

            Fixes spinning at 100% when none of the tasks are done.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Szymon Jakubczak Path: src/main/java/org/jenkinsci/plugins/pubsub/listeners/SyncQueueListener.java http://jenkins-ci.org/commit/pubsub-light-module/71fa32f717d2dc1feee65478043baa507a1a4dfc Log: JENKINS-41832 Fix spinning in SyncQueueListener (#6) Fixes spinning at 100% when none of the tasks are done.

              People

              • Assignee:
                tfennelly Tom FENNELLY
                Reporter:
                szym Szymon J
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: