Bug 3620

Summary: netstat leeks file descriptors
Product: [Retired] Red Hat Linux Reporter: vek
Component: net-toolsAssignee: Crutcher Dunnavant <crutcher>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-07-28 21:46:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description vek 1999-06-21 17:35:31 UTC
net-tools-1.41-3  netstat 1.37 (1999-01-31)  RH6.0

When running netstat in continuous mode like in

netstat -c -i

tho process will open a new file descriptor on every
cycle until eventually the process rouns out of available
descriptors.

Running with strace confirms that on every cycle an
open of the file "/proc/net/dev" id done, but that file
is never closed.



Villy

Comment 1 Jeff Johnson 1999-07-28 21:46:59 UTC
Fixed in net-tools-1.52-3. Thanks for the report.