Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Critical
-
Resolution: Unresolved
-
Component/s: throttle-concurrent-builds-plugin
-
Labels:
-
Environment:Jenkins 1.580.2
-
Similar Issues:
Description
When there are hundreds of throttled builds in the queue, page loads increase by an order of magnitude.
Steps to reproduce:
- Run Jenkins 1.580.2 and latest throttle-concurrent-builds plugin
- Create a matrix job with 200 combinations (attached)
- In the same job, select "Throttle Concurrent Builds" with a maximum of 7 builds throttled as part of a category called 'semaphore'
- Set number of executors on the 'master' queue to 200
- Run the job. There should only be 7 builds running due to the throttling
Page load times will increase by an order of magnitude – I observed 10 seconds from
time curl http://localhost:8080/jenkins/ajaxBuildQueue
If you remove the throttling in the job configuration, the page load times will be under 50 ms.
Attachments
Issue Links
- is blocking
-
JENKINS-19623 Jobs throttling causes performance issues in case of enabled security
-
- Resolved
-
- is duplicated by
-
JENKINS-31982 Jenkins UI hangs
-
- Resolved
-
- is related to
-
JENKINS-27708 Concurrent build limits not honored on Jenkins 1.607
-
- Resolved
-
-
JENKINS-20046 Massive Jenkins slowdown when jobs in Queue (due to Queue.maintain())
-
- Resolved
-
- links to
(1 links to)
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue is related to |
Attachment | threaddump.txt [ 28908 ] |
Assignee | Oleg Nenashev [ oleg_nenashev ] | Jesse Glick [ jglick ] |
Description |
When there are hundreds of throttled builds in the queue, page loads increase by an order of magnitude. Steps to reproduce: # Run Jenkins 1.580.2 and latest throttle-concurrent-builds plugin # Create a matrix job with 200 combinations (attached) # In the same job, select "Throttle Concurrent Builds" with a maximum of 7 builds throttled as part of a category called 'semaphore' # Set number of executors on the 'master' queue to 200 # Run the job. There should only be 7 builds running due to the throttling Page load times will increase by an order of magnitude -- I observed 10 seconds from {{{time curl http://localhost:8080/jenkins/ajaxBuildQueue}}} If you remove the throttling in the job configuration, the page load times will be under 50 ms. |
When there are hundreds of throttled builds in the queue, page loads increase by an order of magnitude. Steps to reproduce: # Run Jenkins 1.580.2 and latest throttle-concurrent-builds plugin # Create a matrix job with 200 combinations (attached) # In the same job, select "Throttle Concurrent Builds" with a maximum of 7 builds throttled as part of a category called 'semaphore' # Set number of executors on the 'master' queue to 200 # Run the job. There should only be 7 builds running due to the throttling Page load times will increase by an order of magnitude -- I observed 10 seconds from {code:none}time curl http://localhost:8080/jenkins/ajaxBuildQueue{code} If you remove the throttling in the job configuration, the page load times will be under 50 ms. |
Attachment | config.xml [ 29000 ] |
Labels | performance | performance queue |
Status | Open [ 1 ] | In Progress [ 3 ] |
Remote Link | This issue links to "Docker demo to reproduce (Web Link)" [ 12302 ] |
Remote Link | This issue links to "PR 27 (Web Link)" [ 12400 ] |
Link |
This issue is blocking |
Link |
This issue is related to |
Assignee | Jesse Glick [ jglick ] | Oleg Nenashev [ oleg_nenashev ] |
Link |
This issue is duplicated by |
Workflow | JNJira [ 161862 ] | JNJira + In-Review [ 185585 ] |
Status | In Progress [ 3 ] | Open [ 1 ] |
Assignee | Oleg Nenashev [ oleg_nenashev ] |