Issue
Job creation and deletion operations are extremely slow, causing significant delays in UI response. When creating or moving jobs, the UI becomes sluggish and redirection after actions takes an unusually long time.
Thread dumps reveal long-running threads during job operations:
"Handling POST /$JENKINS_URL/job/$FOLDER/createItem from $IP_ADDRESS : Jetty (winstone)-247" #247 prio=5 os_prio=0 cpu=414.16ms elapsed=688.99s tid=0x00007d20540baf90 nid=0x147 runnable java.lang.Thread.State: RUNNABLE at sun.nio.ch.Net.poll(java.base@17.0.14/Native Method) at sun.nio.ch.NioSocketImpl.park(java.base@17.0.14/NioSocketImpl.java:186) [...] at com.browserstack.automate.ci.jenkins.qualityDashboard.QualityDashboardAPIUtil.makePostRequestToQd(QualityDashboardAPIUtil.java:37) at com.browserstack.automate.ci.jenkins.qualityDashboard.QualityDashboardAPIUtil.logToQD(QualityDashboardAPIUtil.java:80) at com.browserstack.automate.ci.jenkins.qualityDashboard.QualityDashboardInitItemListener.syncItemListToQD(QualityDashboardInitItemListener.java:88) at com.browserstack.automate.ci.jenkins.qualityDashboard.QualityDashboardInitItemListener.onCreated(QualityDashboardInitItemListener.java:28) [...]
Explanation
This performance degradation is caused by the BrowserStack plugin.
Thread dump analysis reveals multiple BLOCKED and RUNNABLE threads during job operations, particularly during job creation and deletion processes. The BrowserStack plugin makes API calls that create long-running threads, causing locking issues that block other operations and delay UI responses.
These blocking threads prevent the controller from processing job operations efficiently, resulting in the observed slowness throughout the instance.
Workaround
Remove the BrowserStack plugin to resolve the performance issue.
-
Navigate to .
-
Locate
BrowserStackin the installed plugins list. -
Click the plugin name to view its details.
-
Click
Uninstall. -
Restart the instance for the changes to take effect.
-
Verify that job creation and deletion operations now complete without delays.
Tested product/plugin versions
-
CloudBees CI on modern cloud platforms - managed controller - 2.492.3.5
-
BrowserStack plugin - 1.2.16