Bug 133466 - iostat leaks file descriptors
Summary: iostat leaks file descriptors
Status: CLOSED DUPLICATE of bug 131878
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: sysstat   
(Show other bugs)
Version: 3.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Charlie Bennett
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2004-09-24 08:03 UTC by Göran Uddeborg
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 19:05:50 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Göran Uddeborg 2004-09-24 08:03:52 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.4.3)

Description of problem:
Leaving "iostat X" running for a long time finally ends with an error
message about lack of file descriptors.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Run "iostat 1"
2. Go for lunch and come back

Actual Results:  Iostat has died with a "Too many open files" message

Expected Results:  Iostat should keep on writing a message each second
about I/O statistics.

Additional info:

Doing an "lsof -p NNN" on the running iostat reveals it opens
/proc/stat for each loop, but never closes it.

Limiting the number of file descriptors allowed (ulimit -n X/limit
descriptors X) is a faster way to trigger the problem.

Comment 1 Göran Uddeborg 2004-09-24 12:14:11 UTC
Hmm, just found this was already reported.  I must have made some
mistake when I searched for it before reporting.

*** This bug has been marked as a duplicate of 131878 ***

Comment 2 Red Hat Bugzilla 2006-02-21 19:05:50 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.