Issue
- My Jenkins is running slowly and threads about GitChangeSet.findOrCreateUser keep showing up
Environment
- CloudBees Jenkins Enterprise - Managed Master version 2.60.3.1 and older (CJE-MM)
- CloudBees Jenkins Platform - Client Master version 2.60.3.1 and older (CJP-CM)
- CloudBees Jenkins Team version 2.60.3.1 and older (CJT-CM)
- Git plugin
Related issues
Resolution
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 2.73.3.1 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 System.setProperty("com.cloudbees.workflow.rest.external.ChangeSetExt.resolveCommitAuthors","false");
in the script console under Manage Jenkins> Script Console
but that is only if Stage view is the cause of all the calls.
0 Comments