Bug #15481
closedFile descriptor leak in ``bsnmpd``
100%
Description
A user reports seeing an unusual increase in the number of running processes.
The extra processes are all kernel/netlink_socket.
The user very helpfully narrowed this down to being caused by bsnmpd, and there's an obvious issue (with the benefit of hindsight, at least) in libpfctl's pfctl_get_rules_info() implementation. It opens a netlink socket, but fails to close it again.
See https://forum.netgate.com/topic/188050/24-03-causes-sustained-rise-in-processes-count-and-memory-usage for the full discussion.
Updated by Kristof Provost 7 months ago
Updated by Kristof Provost 7 months ago
- Status changed from New to Feedback
And that's been merged to our branches.
Updated by Jim Pingle 6 months ago
- Plus Target Version changed from 24.07 to 24.08
Updated by Jim Pingle about 2 months ago
- Subject changed from bsnmpd: file descriptor leak to File descriptor leak in ``bsnmpd``
Updated by Jim Pingle about 1 month ago
- Plus Target Version changed from 24.08 to 24.11
Updated by Jim Pingle 10 days ago
- Status changed from Feedback to Resolved
- % Done changed from 0 to 100
Patch has been in for a while and there have been public builds since. No further reports and no reports of other regressions, so I think we can call this solved for now. If someone hits the same problem again we can reopen/retarget the issue.