Bug 133466 - iostat leaks file descriptors
Summary: iostat leaks file descriptors
Keywords:
Status: CLOSED DUPLICATE of bug 131878
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: sysstat
Version: 3.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Charlie Bennett
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
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:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:05:50 UTC
Target Upstream Version:
Embargoed:


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)
Gecko/20040803

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):
sysstat-4.0.7-4.EL3.3

How reproducible:
Always

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.