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.
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:
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.
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