Support Core plugin performs FullGC periodically

Article ID:360001823392
1 minute readKnowledge base

Issue

  • Support Core plugins from 2.42 to 2.44 performs histo:live requests periodically thus a FullGC is also performed.

  • Jenkins instances requiring more than 10G of heap could face slowness issues because of the FullGC.

Environment

  • CloudBees Jenkins Enterprise - Managed controller (CJE-MM)

  • CloudBees Jenkins Enterprise - Operations center (CJE-OC)

  • Support Core plugin from 2.42 to 2.44

Resolution

Upgrade Support Core plugin to 2.45.1 or higher.

Since 2.42 to 2.44, a new component requests the memory histogram for live instances. In order to generate the histogram, the jvm performs a FullGC. That behavior cannot be disabled when the bundle is generated in background.

Support Core plugin 2.45.1 disables the histogram generation by default, but can be enabled:

  • temporally running com.cloudbees.jenkins.support.impl.HeapUsageHistogram.DISABLED=false from Manage Jenkins / Script Console

  • permanently adding -Dcom.cloudbees.jenkins.support.impl.HeapUsageHistogram.DISABLED=false system property

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.