My instance is slow when creating or deleting jobs due to BrowserStack plugin

Last Reviewed:2026-01-02()
1 minute readKnowledge base

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.

  1. Navigate to Manage Jenkins  Plugins  Installed plugins.

  2. Locate BrowserStack in the installed plugins list.

  3. Click the plugin name to view its details.

  4. Click Uninstall.

  5. Restart the instance for the changes to take effect.

  6. Verify that job creation and deletion operations now complete without delays.

Tested product/plugin versions

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.