Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58980

support-core should only collect the latest GC logs

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • support-core-plugin
    • None
    • support-core:2.34+
    • support-core-2.62

      When an instance has gigabytes of GC log files, the support bundle generator can effectively take forever. This not only causes high load for Jenkins, but can prevent from generating a support bundle.

      Steps to reproduce

      1. Add 100's GB of log files to the GC folder (specified in JVM startup flags)
      2. Try to collect a Bundle

      Expected Behavior: The bundle is generated in a reasonable amount of time and just includes the most recent data from the GC logs instead of trying to include all of them.

      Actual Behavior: You will see that the bundle collection times out or runs forever.

            allan_burdajewicz Allan BURDAJEWICZ
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: