Project

General

Profile

Actions

Bug #15481

open

bsnmpd: file descriptor leak

Added by Kristof Provost 24 days ago. Updated 4 days ago.

Status:
Feedback
Priority:
Normal
Category:
SNMP
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
24.08
Release Notes:
Default
Affected Version:
Affected Architecture:
All

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.

Actions #2

Updated by Kristof Provost 23 days ago

  • Status changed from New to Feedback

And that's been merged to our branches.

Actions #3

Updated by Jim Pingle 4 days ago

  • Plus Target Version changed from 24.07 to 24.08
Actions

Also available in: Atom PDF