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

swarm-plugin default log configuration severely degrades slave performance in combination with Clone Workspace SCM Plugin

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: swarm-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.89.3
      Swarm Plugin 3.8
      Clone Workspace SCM Plug-in 0.6
      SUSE Linux Enterprise Server 12 (x86_64)
    • Similar Issues:

      Description

      Using the default Logging Configuration logging.properties supplied with swarm-plugin leads to a severe degradation in performance in combination with Clone Workspace SCM Plugin.

      As line 36 enables Logging of all messages by specifying Level ALL our Slaves were creating a very large amount of log data leading to 100% CPU Usage.

      Setting the log level to INFO (specified in line 35 but commented out) resolved the issue. We think this should be the default.

        Attachments

          Activity

          jonaswoerleinvf Jonas Woerlein created issue -
          jonaswoerleinvf Jonas Woerlein made changes -
          Field Original Value New Value
          Summary swarm-plugin default Log configuration severly degrades slave performance in combination with Clone Workspace SCM Plugin swarm-plugin default log configuration severely degrades slave performance in combination with Clone Workspace SCM Plugin
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          please submit a PR. Defaulting to INFO is preferable IMHO

          Show
          oleg_nenashev Oleg Nenashev added a comment - please submit a PR. Defaulting to INFO is preferable IMHO
          Show
          jonaswoerleinvf Jonas Woerlein added a comment - Submitted https://github.com/jenkinsci/swarm-plugin/pull/67
          oleg_nenashev Oleg Nenashev made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          oleg_nenashev Oleg Nenashev made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          oleg_nenashev Oleg Nenashev made changes -
          Assignee Jonas Woerlein [ jonaswoerleinvf ]
          oleg_nenashev Oleg Nenashev made changes -
          Remote Link This issue links to "https://github.com/jenkinsci/swarm-plugin/pull/67 (Web Link)" [ 19999 ]
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          The fix has been released in 3.9

          Show
          oleg_nenashev Oleg Nenashev added a comment - The fix has been released in 3.9
          oleg_nenashev Oleg Nenashev made changes -
          Status In Review [ 10005 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              jonaswoerleinvf Jonas Woerlein
              Reporter:
              jonaswoerleinvf Jonas Woerlein
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: