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

High CPU load with BlueOcean Plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • blueocean-plugin
    • Blue Ocean 1.2-beta2, Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4, Blue Ocean 1.2, Blue Ocean 1.3, Blue Ocean 1.4 - beta 1

      At some point (presumably after triggering some jobs) our jenkins master node gets very high cpu load. After that the UI becomes not usable at all and we have to manually restart/kill the process.

       

      WARNUNG: Error publishing Run queued event. org.jenkinsci.plugins.pubsub.MessageException: Event enrichment failure due to unexpected exception in io.jenkins.blueocean.events.BlueMessageEnricher. at org.jenkinsci.plugins.pubsub.PubsubBus.publish(PubsubBus.java:135) at org.jenkinsci.plugins.pubsub.listeners.SyncQueueListener.publish(SyncQueueListener.java:178) at org.jenkinsci.plugins.pubsub.listeners.SyncQueueListener.publish(SyncQueueListener.java:172) at org.jenkinsci.plugins.pubsub.listeners.SyncQueueListener.onEnterWaiting(SyncQueueListener.java:139) at hudson.model.Queue$WaitingItem.enter(Queue.java:2392) at hudson.model.Queue.scheduleInternal(Queue.java:632) at hudson.model.Queue.schedule2(Queue.java:588) at jenkins.model.ParameterizedJobMixIn.scheduleBuild2(ParameterizedJobMixIn.java:155) at jenkins.model.ParameterizedJobMixIn.scheduleBuild(ParameterizedJobMixIn.java:115) at jenkins.model.ParameterizedJobMixIn.scheduleBuild(ParameterizedJobMixIn.java:104) at com.cloudbees.jenkins.GitHubPushTrigger$1.run(GitHubPushTrigger.java:143) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException at io.jenkins.blueocean.service.embedded.rest.QueueUtil.getQueuedItem(QueueUtil.java:24) at io.jenkins.blueocean.events.BlueMessageEnricher.enrich(BlueMessageEnricher.java:96) at org.jenkinsci.plugins.pubsub.PubsubBus.publish(PubsubBus.java:133) ... 16 more

       

      This is the only suspicious error/exception we found in our logs. The time the exception is thrown matches with the time the cpu load on the master node increases.

            michaelneale Michael Neale
            paulschmidt Paul Schmidt
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: