Red Hat Bugzilla – Bug 609017
subprocess leaves open fds on construction error
Last modified: 2016-05-31 21:39:59 EDT
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):
Steps to Reproduce:
Created attachment 442049 [details]
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.
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.