CloudBees Secure Copy Plugin causes performance issues

Article ID:115001552171
1 minute readKnowledge base

Issue

  • Jenkins UI is slow to render or times-out (hangs) completely

  • You see slow requests and/or threads waiting with the following stacktraces:

[...]
    hudson.security.ACL.hasPermission(ACL.java:75)
    hudson.model.AbstractItem.hasPermission(AbstractItem.java:512)
    hudson.model.Items.getAllItems(Items.java:378)
    hudson.model.Items.getAllItems(Items.java:383)
    hudson.model.Items.getAllItems(Items.java:383)
    hudson.model.Items.getAllItems(Items.java:383)
    hudson.model.Items.getAllItems(Items.java:383)
    hudson.model.Items.getAllItems(Items.java:383)
    hudson.model.Items.getAllItems(Items.java:383)
    hudson.model.Items.getAllItems(Items.java:359)
    jenkins.model.Jenkins.getAllItems(Jenkins.java:1753)
    com.cloudbees.jenkins.plugins.securecopy.ExportsRootAction.getIconFileName(ExportsRootAction.java:52)
    [...]

Environment

CJP-4175

Resolution

Remove or disable the CloudBees Secure Copy plugin. If you are using it, consider replacing it with Cluster-wide copy artifacts.

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.