Inefficient locking of the cached credentials blocks reading threads

Issue

  • Slowdown of reading credentials from the local cache for large caches
  • Org Folder that has a credentials drop down opens slowly
  • Inefficient locking of the cache blocks reading threads
  • CJP-8620

Environment

Description

When the credentials cache gets large, serializing it can cause contention with any thread that needs to resolve credentials. When you open an Org Folder that has a credentials drop down it takes quite a while.

Resolution

This defect was fixed in CJP-8620.

Upgrade the Operations Center Client plugin to version 2.107.1.5 or above.

Workaround

  • Stop Jenkins instance
  • Open a terminal window and change to $JENKINS_HOME
  • Delete com.cloudbees.opscenter.client.plugin.OperationsCenterCredentialsProvider.cache.xml
  • Start Jenkins instance

An additional mitigation workaround can be found in the reference KB article.

Reference

Why does the credentials dropdown take a lot of time to load?

Have more questions?

0 Comments

Please sign in to leave a comment.