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

Shell command are really slower than before

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: kubernetes-plugin
    • Labels:
      None
    • Environment:
      jenkins 2.111,
      workflow-durable-task-step 2.19
      kubernetes-1.6.0
    • Similar Issues:

      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

            Hide
            csanchez Carlos Sanchez added a comment -

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

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

            Carlos SanchezYou are a hero.

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

            Thanks a lot!

            Show
            pascallap Pascal Laporte added a comment - Carlos Sanchez You are a hero. With 4096 we are starting to see the magic operate (2~3 sec)! Thanks a lot!
            Hide
            kugel Thomas M added a comment -

            Pascal Laporte Carlos Sanchez 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. Carlos Sanchez 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).

            Show
            kugel Thomas M added a comment - Pascal Laporte Carlos Sanchez 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. Carlos Sanchez 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).
            Hide
            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.

            Show
            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.
            Hide
            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?

            Show
            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?

              People

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

                Dates

                Created:
                Updated:
                Resolved: