• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      We were running version 2.156 and decided to upgrade to v2.173. 
      After doing so everything was running slow on the Jenkins UI. Just opening up the dashboard, Job log, Job configuration pages took up to 20 seconds to load. 

      We checked the CPU and Memory Usage and nothing was wrong there the machine was fine. 

      We needed to Downgrade back to v2.156 and now everything is working back to normal

          [JENKINS-57216] Upgrade to v2.173 Made Everything Slow

          Oleg Nenashev added a comment -

          Would it be possible to profile instance or to provide information to make the case reproducible? I do not see immediate root cause in the fixes

          Oleg Nenashev added a comment - Would it be possible to profile instance or to provide information to make the case reproducible? I do not see immediate root cause in the fixes

          oleg_nenashev What information do you need exactly? 

          What do you mean about the instance? 

          Yosef Silberhaft added a comment - oleg_nenashev What information do you need exactly?  What do you mean about the instance? 

          Would be also great if you can identify more precisely which exact Jenkins release starts to behave badly for you. I.e. test every release between v2.156 and 2.173 to identify a precise version. (note: you can likely do it by dichotomy to not go through ALL releases)

          Baptiste Mathus added a comment - Would be also great if you can identify more precisely which exact Jenkins release starts to behave badly for you. I.e. test every release between v2.156 and 2.173 to identify a precise version. (note: you can likely do it by dichotomy to not go through ALL releases)

          We used 2.138.3 and now updated to 2.176.2. Both of them extremely slow when hitting 'configure' for any particular job we have. Web inspector in Chrome said that it was idle for 12 seconds and 8 seconds it presented the configurations...among other things rendered.

          When running htop simultaneously in the host, I could see that the first CPU hit 120% and the second one over 9% during those 12 seconds Chrome was idle, and the process causing it was Jenkins related. So apparently it really takes 12 seconds for Jenkins to load configurations.

          But it's not Jenkins version related. We also have 2.176.1 running with vast amounts of configurations. There loading an example configuration takes 5 seconds in total, of which it is idle 1.8 seconds, scripts for 1.7s, renders 800ms etc. These configurations aren't identical, so in our case it might be that we need to compare them. But be the reason for the difference whatever, loading configurations for several seconds is very slow.

          Tony Sarajärvi added a comment - We used 2.138.3 and now updated to 2.176.2. Both of them extremely slow when hitting 'configure' for any particular job we have. Web inspector in Chrome said that it was idle for 12 seconds and 8 seconds it presented the configurations...among other things rendered. When running htop simultaneously in the host, I could see that the first CPU hit 120% and the second one over 9% during those 12 seconds Chrome was idle, and the process causing it was Jenkins related. So apparently it really takes 12 seconds for Jenkins to load configurations. But it's not Jenkins version related. We also have 2.176.1 running with vast amounts of configurations. There loading an example configuration takes 5 seconds in total, of which it is idle 1.8 seconds, scripts for 1.7s, renders 800ms etc. These configurations aren't identical, so in our case it might be that we need to compare them. But be the reason for the difference whatever, loading configurations for several seconds is very slow.

            Unassigned Unassigned
            yossisilb Yosef Silberhaft
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: