- My Jenkins is running slowly and threads about GitChangeSet.findOrCreateUser keep showing up
- CloudBees Jenkins Enterprise - Managed Master version 18.104.22.168 and older (CJE-MM)
- CloudBees Jenkins Platform - Client Master version 22.214.171.124 and older (CJP-CM)
- CloudBees Jenkins Team version 126.96.36.199 and older (CJT-CM)
- Git plugin
# Related issues #
JENKINS-47429 is the cause of this issue but Jenkins is trying to get all the users from a legacy changeset which is affecting performance. This can be relieved somewhat by upgrading to 188.8.131.52 version of the LTS because it will only perform this lookup once instead of every time the call is made but will not be fixed completely until the linked defect is fixed.
One of the possible causes of the stacktrace itself is Stage View getting legacy users which can be turned off by running
in the script console under
Manage Jenkins> Script Console but that is only if Stage view is the cause of all the calls.