Too many open files issue from libgit2
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 450
- Avg merge
- 11m
- Merged PRs (30d)
- 1
Description
My program, that uses git2 crushes ~every week because of leaking descriptors. This is probably caused by https://github.com/libgit2/libgit2/issues/2758, which was fixed a while ago.
Is it possible to fix the rust binding too? (If I understand right, this requires an update of the libgit2 dependency)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by checking the libgit2 dependency declaration in the Rust binding and read libgit2 issue 2758 to confirm the fixed version and compatibility requirements. Verify the updated binding no longer exposes the reported descriptor leak and that the existing checks still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100