Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 609017

Summary: subprocess leaves open fds on construction error
Product: Red Hat Enterprise Linux 5 Reporter: Moran Goldboim <mgoldboi>
Component: pythonAssignee: Dave Malcolm <dmalcolm>
Status: CLOSED ERRATA QA Contact: Petr Šplíchal <psplicha>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.5CC: abaron, benl, cpelland, danken, ddumas, dgregor, dmalcolm, iheim, katzj, mkalinin, ohudlick, plyons, psplicha
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When starting a child process from the subprocess module in Python 2.4, the parent process could leak file descriptors if an error occurred. This update resolves the issue.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-13 23:10:03 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:
Bug Depends On:    
Bug Blocks: 630663    
Attachments:
Description Flags
http://svn.python.org/view?view=rev&revision=69621 none

Description Moran Goldboim 2010-06-29 08:18:54 UTC
Description of problem:
VDSM component which is using python-2.4.3-27.el5 had during it's run many OSErrors due to memory shortage, this reflected with subprocess module leaks filedescriptors on OSError as described in http://bugs.python.org/issue5179


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


How reproducible:


Steps to Reproduce:
1.python-2.4.3-27.el5
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 28 Eva Kopalova 2010-12-20 10:18:57 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When starting a child process from the subprocess module in Python 2.4, the parent process could leak file descriptors if an error occurred. This update resolves the issue.

Comment 30 errata-xmlrpc 2011-01-13 23:10:03 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0027.html