jenkinsci / jenkinsci/support-core-plugin

[JENKINS-39088] Improve OutOfMemory diagnostics in Jenkins Support Core

Open
#760 0 comments 0 reactions 0 assignees View on GitHub
component:support-core-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
19
Forks
77
Avg merge
17h 53m
Merged PRs (30d)
3

Description

Currently Jenkins can recover from OutOfMemory errors in particular cases, but there are known issues like channel hanging.

They issue may stay unnoticed till it disappears from logs. In such case Jenkins admins may have no clue if it was a cause of connection hanging.

Proposals:



  • Record last OOM events in support bundles (if they happen after the restart)

  • Add an administrative monitor with a warning (Jenkins restart is recommended in general)

It may likely require patches in the Jenkins core

---
Originally reported by oleg_nenashev, imported from: Improve OutOfMemory diagnostics in Jenkins Support Core


  • assignee: schristou
  • status: Open
  • priority: Minor
  • component(s): support-core-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251212-090250

Raw content of original issue

Currently Jenkins can recover from OutOfMemory errors in particular cases, but there are known issues like channel hanging.

They issue may stay unnoticed till it disappears from logs. In such case Jenkins admins may have no clue if it was a cause of connection hanging.

Proposals:



  • Record last OOM events in support bundles (if they happen after the restart)

  • Add an administrative monitor with a warning (Jenkins restart is recommended in general)

It may likely require patches in the Jenkins core

Contributor guide

Open the contributing guide

Research direction

Begin by inspecting the support-core plugin and the Jenkins core areas related to OutOfMemory handling, support bundles, and administrative monitors. Determine how OOM events after restart can be retained and how a restart warning should be surfaced; done means both proposed diagnostics are implemented and covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.