• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core

      Found this issue when accessing Configure Clouds page. It couldn't get successfully loaded for displaying the page. A bit of background story, there are dozens of registered AMI on the jenkins master, more specifically around 90 AMIs. The more I add new AMI, the longer time to wait until the page is fully loaded. But currently, it reaches its peak for not being able to load the page and return the error like below instead:

      Indeed, when I saw the resource usage, there was a CPU spike but I don't think that is the problem since it doesn't exceed or even come close to the limit. Since then, I tried to ask  some of my colleagues to access the page and few of them managed to access it but with consuming huge amount of memory usage in our workstation while loading it up:

       

      I believe it's due to plenty of AMI are registered on it and Jenkins is trying to load it up all at once instead of batching them into multiple AMIs per page number. Therefore, it would be a nice improvement to have Configure Clouds page is equipped with pagination in the future. So it will be much quicker to load each page number instead of the whole AMI list at once.

       

       

       

          [JENKINS-72417] Enable pagination on Configure Clouds Page

          Mark Waite added a comment -

          Thanks for reporting the issue fauzislami. Can you provide the list of plugins and their versions as described in "How to report an issue" and provide more details on which cloud plugins you are using and how those cloud plugins are configured?

          I suspect that this needs to be assigned to a specific cloud plugin, but the description does not provide enough information to indicate which cloud plugin is being used.

          Mark Waite added a comment - Thanks for reporting the issue fauzislami . Can you provide the list of plugins and their versions as described in "How to report an issue" and provide more details on which cloud plugins you are using and how those cloud plugins are configured? I suspect that this needs to be assigned to a specific cloud plugin, but the description does not provide enough information to indicate which cloud plugin is being used.

          Muhammad added a comment -

          Thanks for the quick response Mark!

          Sorry for the unclear information, I just updated the more detail information on the Environment field above. It consists of what plugins are installed, jenkins version, os version and platform where it's running on. Especially for the cloud plugin, I use Amazon EC2 version[ 2.0.4|https://updates.jenkins.io/download/plugins/ec2/2.0.4/ec2.hpi]

          Actually, I wasn't really sure if it's specifically due to the plugin since I can see Kubernetes plugin configurations on the same Configure Clouds page as well which I assume no matter what cloud plugin is installed, it will be listed on the same page. But let me know if I misunderstood about how it works.

          Muhammad added a comment - Thanks for the quick response Mark! Sorry for the unclear information, I just updated the more detail information on the  Environment field above. It consists of what plugins are installed, jenkins version, os version and platform where it's running on. Especially for the cloud plugin, I use Amazon EC2 version[ 2.0.4|https://updates.jenkins.io/download/plugins/ec2/2.0.4/ec2.hpi] Actually, I wasn't really sure if it's specifically due to the plugin since I can see Kubernetes plugin configurations on the same Configure Clouds page as well which I assume no matter what cloud plugin is installed, it will be listed on the same page. But let me know if I misunderstood about how it works.

          Mark Waite added a comment -

          Recent Jenkins versions (especially 2.426.1) have had significant improvements in the "Configure Clouds" page. You may want to try a newer version. I'm not using cloud based agents myself and I'm running 2.426.1, so I'm unlikely to do a deeper investigation.

          Mark Waite added a comment - Recent Jenkins versions (especially 2.426.1) have had significant improvements in the "Configure Clouds" page. You may want to try a newer version. I'm not using cloud based agents myself and I'm running 2.426.1, so I'm unlikely to do a deeper investigation.

          Muhammad added a comment -

          I'll try out the most recent version and see if it has either such improvement I mentioned in question or something else that really has significant impact for my case. Will get back with the updated result. Thanks for your timely response!

          Muhammad added a comment - I'll try out the most recent version and see if it has either such improvement I mentioned in question or something else that really has significant impact for my case. Will get back with the updated result. Thanks for your timely response!

            Unassigned Unassigned
            fauzislami Muhammad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: