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

Very slow activity/pipeline screen load (often when logged in)

    • Blue Ocean 1.2-beta1, Blue Ocean 1.2-beta2, Blue Ocean 1.4 - beta 3, Blue Ocean 1.5 - beta 1

      (to investigate)

       

      • Some people are finding dashboard/pipeline screens slow when logged in vs not logged in (see appropriate comments below) 
        • See comments and support bundles below for this - eg via bksaville. In some cases it is related to number of runs. 
      • Some users see activity screen as very slow when there are a large number of runs (this seems to be the more common and serious case...)

       

       

       

      — ORIGINAL TICKET —

      I've noticed that the dashboard loads quickly when I'm not authenticated.

      (classic loads normally)

       

      Deleting the config history like suggested in https://issues.jenkins-ci.org/browse/JENKINS-43208 did not work.

      I have sent an HAR file via email to jamesdumay.

      Jenkins version 2.46.3, BlueOcean 1.1.2

        1. support_2017-11-20_23.21.08.zip
          269 kB
        2. support_2017-11-17_11.26.08.zip
          401 kB
        3. support_2017-11-17_08.03.54.zip
          743 kB
        4. support_2017-11-17_08.03.56.zip
          743 kB
        5. support_2017-11-17_08.03.59.zip
          743 kB
        6. support_2017-11-17_08.04.02.zip
          743 kB
        7. support_2017-11-17_08.04.13.zip
          743 kB
        8. support_2017-11-17_08.04.18.zip
          742 kB
        9. plugins.txt
          9 kB
        10. haranalysis.png
          haranalysis.png
          118 kB

          [JENKINS-44995] Very slow activity/pipeline screen load (often when logged in)

          Hans Schulz created issue -
          Hans Schulz made changes -
          Issue Type Original: New Feature [ 2 ] New: Bug [ 1 ]

          James Dumay added a comment - - edited

          schulzha what authentication backend are you using? LDAP? What plugin?

          I received the HAR file - thank you

          James Dumay added a comment - - edited schulzha what authentication backend are you using? LDAP? What plugin? I received the HAR file - thank you
          James Dumay made changes -
          Attachment New: haranalysis.png [ 38553 ]

          James Dumay added a comment -

          schulzha it looks like most requests to the REST API for things that could be slow (listing pipelines, fetching favourites) are returning within a few milliseconds. The page load for Blue Ocean does not.

          I have a few questions:

          • Is Blue Ocean behind a HTTP proxy?
          • Can you please generate a support bundle and email it to me. This will give me some indication of what plugins are running on your system etc

          James Dumay added a comment - schulzha it looks like most requests to the REST API for things that could be slow (listing pipelines, fetching favourites) are returning within a few milliseconds. The page load for Blue Ocean does not. I have a few questions: Is Blue Ocean behind a HTTP proxy? Can you please generate a support bundle and email it to me. This will give me some indication of what plugins are running on your system etc
          James Dumay made changes -
          Epic Link New: JENKINS-37957 [ 174099 ]
          James Dumay made changes -
          Sprint New: Blue Ocean 1.2-beta1 [ 336 ]

          Hans Schulz added a comment -

          I am using Github Authorization backend with a Github Enterprise instance.

          Jenkins is behind an Apache2 reverse-proxy for TLS, configured like described here: https://wiki.jenkins.io/display/JENKINS/Running+Jenkins+behind+Apache.

          Apart from that, our corporate network uses a proxy to connect to the internet, but that shouldn't be involved in loading blue ocean.

          I have sent you the support bundle.

          Hans Schulz added a comment - I am using Github Authorization backend with a Github Enterprise instance. Jenkins is behind an Apache2 reverse-proxy for TLS, configured like described here: https://wiki.jenkins.io/display/JENKINS/Running+Jenkins+behind+Apache . Apart from that, our corporate network uses a proxy to connect to the internet, but that shouldn't be involved in loading blue ocean. I have sent you the support bundle.

          James Dumay added a comment -

          Thanks!

          Another thing: would you be able to perform a thread dump of the server while the dashboard is loading slowly? That could give us some extra ideas of what's happening. Just a few thread dumps every 5 seconds as it's loading would be perfect

          James Dumay added a comment - Thanks! Another thing: would you be able to perform a thread dump of the server while the dashboard is loading slowly? That could give us some extra ideas of what's happening. Just a few thread dumps every 5 seconds as it's loading would be perfect

          Hans Schulz added a comment -

          I have sent you the thread dumps.

          Hans Schulz added a comment - I have sent you the thread dumps.

            nicu Nicolae Pascu
            schulzha Hans Schulz
            Votes:
            7 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: