Interview Prep/Jenkins/Backups, HA, upgrades & performance

What are the most common causes of a slow Jenkins controller?

IntermediateConceptBackups, HA, upgrades & performance
Answer
  • Too many builds retained (no buildDiscarder), making job loading and UI slow
  • Heavy Groovy in pipelines (CPS on the controller), especially JSON parsing and big loops
  • Builds running on the built-in node
  • Slow JENKINS_HOME storage (NFS with high latency, burstable EBS volumes out of credits)
  • Large console logs streamed through the controller
  • Too many plugins, or a misbehaving plugin
  • Polling hundreds of repos instead of webhooks
  • Undersized heap causing constant GC
All Jenkins questions Roadmap: Jenkins

More on Backups, HA, upgrades & performance