jenkinsci / jenkinsci/support-core-plugin
[JENKINS-76324] Keep a history of the `file-descriptors.txt` for future reference
- Dominant language
- Java
- Stars
- 19
- Forks
- 77
- Avg merge
- 17h 53m
- Merged PRs (30d)
- 3
Description
`file-descriptors.txt` can be helpful for troubleshooting the file descriptor leak. However, by the time the controller process runs out of file descriptors it is impossible to generate a new support bundle. It'd be great if the support bundle generated after the restart included a handful of `file-descriptors.txt` files leading up to the incident.
---
Originally reported by
duemir, imported from: Keep a history of the `file-descriptors.txt` for future reference
escoem
Raw content of original issue
`file-descriptors.txt` can be helpful for troubleshooting the file descriptor leak. However, by the time the controller process runs out of file descriptors it is impossible to generate a new support bundle. It'd be great if the support bundle generated after the restart included a handful of `file-descriptors.txt` files leading up to the incident.
Contributor guide
Research direction
Start by locating how the support bundle generates `file-descriptors.txt` and how bundle data is retained across controller restarts. Define the retention window for a handful of historical files, then verify that a post-restart support bundle includes the files leading up to the incident.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100