- My Jenkins is running slowly and threads about GitChangeSet.findOrCreateUser keep showing up
- CloudBees Jenkins Enterprise - Managed Master version 188.8.131.52 and older (CJE-MM)
- CloudBees Jenkins Platform - Client Master version 184.108.40.206 and older (CJP-CM)
- CloudBees Jenkins Team version 220.127.116.11 and older (CJT-CM)
- Git plugin
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 18.104.22.168 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.