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

Shell command are really slower than before

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • kubernetes-plugin
    • None
    • jenkins 2.111,
      workflow-durable-task-step 2.19
      kubernetes-1.6.0

    Description

      We have recently updated our Jenkins installation from 2.101 to 2.111 including every plugin related to pipeline.

      Since this update every shell «sh» invocation is really slower than before. shell invocation was taking few millisecond before. it is now taking seconds. 

      So job that were taking 1:30 minutes or taking up to 25:00 minutes.

      We are trying to figure out which plugin is related 

      Attachments

        Issue Links

          Activity

            kugel Thomas M added a comment -

            The PR applies to a specific plugin. I can't pin it down to a specific plugin.

             

            https://github.com/jenkinsci/kubernetes-plugin/pull/425/files seems to use reflection to make a general change to the java runtime. I would like to try that, but I don't know how to apply it. Do I have to develop a dummy plugin or can I otherwise hook into the runtime?

            kugel Thomas M added a comment - The PR applies to a specific plugin. I can't pin it down to a specific plugin.   https://github.com/jenkinsci/kubernetes-plugin/pull/425/files seems to use reflection to make a general change to the java runtime. I would like to try that, but I don't know how to apply it. Do I have to develop a dummy plugin or can I otherwise hook into the runtime?

            Hi! As far as I'm concerned, this issue has been solved. You can have a look at the mentioned Pull Request(s) mentioned above if you're interested to implement a similar fix.

            fabricepipart Fabrice Pipart added a comment - Hi! As far as I'm concerned, this issue has been solved. You can have a look at the mentioned Pull Request(s) mentioned above if you're interested to implement a similar fix.
            kugel Thomas M added a comment -

            pascallap csanchez This issue is marked as resolved, but your last comments don't look like it?

             

            I'm facing a similar problem, but I'm not using any kubernetes related plugin. csanchez can you please suggest how I could quickly check if the workaround helps in my case as well (don't know how I could apply a hotfix in java code in an existing Jenkins installation).

            kugel Thomas M added a comment - pascallap csanchez This issue is marked as resolved, but your last comments don't look like it?   I'm facing a similar problem, but I'm not using any kubernetes related plugin. csanchez can you please suggest how I could quickly check if the workaround helps in my case as well (don't know how I could apply a hotfix in java code in an existing Jenkins installation).

            csanchezYou are a hero.

            With 4096 we are starting to see the magic operate (2~3 sec)!

            Thanks a lot!

            pascallap Pascal Laporte added a comment - csanchez You are a hero. With 4096 we are starting to see the magic operate (2~3 sec)! Thanks a lot!

            Check the system property mentioned in the issue and increase the buffer size with it. Then report back

            csanchez Carlos Sanchez added a comment - Check the system property mentioned in the issue and increase the buffer size with it. Then report back

            People

              csanchez Carlos Sanchez
              pascallap Pascal Laporte
              Votes:
              6 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: