-
Bug
-
Resolution: Unresolved
-
Critical
-
Jenkins 1.580.2
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.
- depends on
-
JENKINS-66947 Make ExecutorListener an extension point
-
- Closed
-
- 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
Link |
New:
This issue is related to |
Attachment | New: threaddump.txt [ 28908 ] |
Assignee | Original: Oleg Nenashev [ oleg_nenashev ] | New: Jesse Glick [ jglick ] |
Hi Ryan,
This issue is being caused by the behavior of Queue cache in Jenkins core.
See the discussion in
JENKINS-20046It's possible to somehow optimize the performance of the plugin (e.g. by internal caching), but in general I would recommend to improve the behavior of Queue caching for web interfaces.