[JIRA] (JENKINS-53208) Split main configuration page, takes too long to load

0 views
Skip to first unread message

dirk.heinrichs@recommind.com (JIRA)

unread,
Aug 23, 2018, 9:25:01 AM8/23/18
to jenkinsc...@googlegroups.com
Dirk Heinrichs created an issue
 
Jenkins / Improvement JENKINS-53208
Split main configuration page, takes too long to load
Issue Type: Improvement Improvement
Assignee: Nicolas De Loof
Components: core, docker-plugin
Created: 2018-08-23 13:24
Priority: Major Major
Reporter: Dirk Heinrichs

Over time, we encountered that the main Jenkins configuration page took longer and longer to load. We suspect that this stems from an ever increaing number of Docker agent templates, which also multiplies by the number of configured Docker clouds.

It would therefor be nice if some parts would be seprated from the main configuration, namely said Docker clouds incl. agent templates and maybe the global environment variables (we also have quite a few of them).

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

dirk.heinrichs@recommind.com (JIRA)

unread,
Aug 23, 2018, 9:26:02 AM8/23/18
to jenkinsc...@googlegroups.com
Dirk Heinrichs updated an issue
Change By: Dirk Heinrichs
Over time, we encountered that the main Jenkins configuration page took longer and longer to load. We suspect that this stems from an ever increaing increasing number of Docker agent templates, which also multiplies by the number of configured Docker clouds.


It would therefor be nice if some parts would be seprated from the main configuration, namely said Docker clouds incl. agent templates and maybe the global environment variables (we also have quite a few of them).

dirk.heinrichs@recommind.com (JIRA)

unread,
Aug 23, 2018, 9:26:04 AM8/23/18
to jenkinsc...@googlegroups.com
Dirk Heinrichs updated an issue
Over time, we encountered that the main Jenkins configuration page took longer and longer to load. We suspect that this stems from an ever increasing number of Docker agent templates, which also multiplies by the number of configured Docker clouds.

It would therefor be nice if some parts
would be were seprated from the main configuration, namely said Docker clouds incl. agent templates and maybe the global environment variables (we also have quite a few of them).

nicolas.deloof@gmail.com (JIRA)

unread,
Apr 24, 2019, 10:30:29 AM4/24/19
to jenkinsc...@googlegroups.com
Nicolas De Loof assigned an issue to Unassigned
Change By: Nicolas De Loof
Assignee: Nicolas De Loof
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

pjdarton@gmail.com (JIRA)

unread,
Sep 24, 2019, 8:48:01 AM9/24/19
to jenkinsc...@googlegroups.com
pjdarton updated an issue
Change By: pjdarton
Over time, we encountered that the main Jenkins configuration page took longer and longer to load. We suspect that this stems from an ever increasing number of Docker agent templates defined in clouds , which also multiplies by the number of configured Docker clouds.

It would therefor be nice if some parts were
seprated separated from the main configuration, namely said Docker clouds incl. agent templates and maybe the global environment variables (we also have quite a few of them).
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

pjdarton@gmail.com (JIRA)

unread,
Sep 24, 2019, 8:48:01 AM9/24/19
to jenkinsc...@googlegroups.com
pjdarton commented on Improvement JENKINS-53208
 
Re: Split main configuration page, takes too long to load

I think that this issue isn't really about the docker-plugin, but it's more about the core - when there are a lot of "cloud" instances configured, the main config page takes ages to load.
We've got the same symptoms, but that's mostly from vSphere and OpenStack clouds - there's a lot of field verification going on all at once, and this takes time.

FYI one of the changes I made to the docker plugin was to hide a lot of information within "optional" sections so that the web-page wasn't horribly long by default, allowing the Jenkins admin to only "expand" the sections they were interested in, but this doesn't make much difference to loading speed, only to the visual appearance and navigability of the page.

I think the solution here is for the core to automatically split out the "Clouds" bit into multiple pages when it starts to get large. That isn't an enhancement that belongs to the docker-plugin, that's a wider issue.

What I would suggest is that the Jenkins main jelly code has some sort of "if clouds.size>=1 then punt Clouds into its own page" logic, e.g. have a separate "Clouds" section that magically appears when clouds.size>=1 and have the "Clouds" section in the main config magically turn from the current menu/list (that can become huge and slow) into a link to that new page whenever clouds.size >= 1.
...or, alternatively, make it unconditional, much like what was done when the Jenkins "thread dump" functionality was moved to its own page.

Either way, it's not something that the docker-plugin can do on its own - that's a core issue. I'll amend the "components" field accordingly...

pjdarton@gmail.com (JIRA)

unread,
Sep 24, 2019, 8:49:04 AM9/24/19
to jenkinsc...@googlegroups.com
pjdarton updated an issue
Change By: pjdarton
Component/s: docker-plugin

dirk.heinrichs@recommind.com (JIRA)

unread,
Dec 11, 2019, 3:02:02 AM12/11/19
to jenkinsc...@googlegroups.com
Dirk Heinrichs commented on Improvement JENKINS-53208
 
Re: Split main configuration page, takes too long to load

More than a year has passed now and loading that page takes longer and longer while Docker templates are added.

pjdarton@gmail.com (JIRA)

unread,
Dec 11, 2019, 5:36:03 AM12/11/19
to jenkinsc...@googlegroups.com
pjdarton commented on Improvement JENKINS-53208

FYI most of the folks currently writing/maintaining Jenkins & its plugins ended up in that position simply because, at some point in the past, they wanted a change that nobody else wanted as much as they did.  The great strength of FOSS like Jenkins is that, unlike privately owned software, you always have the option to join in.

dirk.heinrichs@recommind.com (JIRA)

unread,
Dec 16, 2019, 4:19:02 AM12/16/19
to jenkinsc...@googlegroups.com

While that's perfectly true, it's also true that not everyone who uses Jenkins is also a (Java) developer.

Reply all
Reply to author
Forward
0 new messages