Bug 1291054
| Summary: | net-snmp leaks fds when on an SCTP enabled system | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Martin Poole <mpoole> |
| Component: | net-snmp | Assignee: | Jan Safranek <jsafrane> |
| Status: | CLOSED ERRATA | QA Contact: | Dalibor Pospíšil <dapospis> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.7 | CC: | btotty, dapospis |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
When a machine uses SCTP protocol and at the same time Net-SNMP daemon is running on the machine and is asked for statistics in SCTP-MIB, a file descriptor could be leaked in the SNMP daemon.
Consequence:
On busy systems, the daemon could reach maximum amount of opened file descriptors and crash.
Fix:
File descriptor leaks in SCTP-MIB were fixed.
Result:
The daemon does not crash.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-11 01:03:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Martin Poole
2015-12-13 08:33:52 UTC
Reproducer: 1. Initiate a sctp connection, e.g. using sctp_darn: server: sctp_darn -l -P 12345 -H 127.0.0.1 client: sctp_darn -h 127.0.0.1 -p 12345 -H 127.0.0.1 -P 12346 -s (and send something from the client to the server, it's sort of nc-like tool) Then, in a loop: 2. run: snmpwalk -v2c -c public localhost sctp 3. watch nr. of open file descriptors: ls -la /proc/`pidof snmpd`/fd | wc -l It should not grow. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0947.html |