Bug 650588
Summary: | subprocess fails in select when descriptors are large (rhel6) | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Haim <hateya> |
Component: | python | Assignee: | Dave Malcolm <dmalcolm> |
Status: | CLOSED ERRATA | QA Contact: | Petr Šplíchal <psplicha> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.1 | CC: | abaron, cpelland, danken, ddumas, dgregor, dmalcolm, hateya, iheim, katzj, mgoldboi, ohudlick, plyons, psplicha, tao, yeylon |
Target Milestone: | rc | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | python-2.6.6-4.el6 | Doc Type: | Bug Fix |
Doc Text: |
Previously, Python programs that used "ulimit -n" to enable communication with large numbers of subprocesses could still monitor only 1024 file descriptors at a time, due to the subprocess module using the "select" system call. This could cause an exception:
ValueError: filedescriptor out of range in select()
The module now uses the "poll" system call, removing this limitation.
|
Story Points: | --- |
Clone Of: | 609020 | Environment: | |
Last Closed: | 2011-05-19 11:36:13 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: | 609020 | ||
Bug Blocks: | 616055, 630832, 668975 |
Comment 1
Haim
2010-11-07 08:59:17 UTC
*** Bug 616055 has been marked as a duplicate of this bug. *** 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: Previously, Python programs that used "ulimit -n" to enable communication with large numbers of subprocesses could still monitor only 1024 file descriptors at a time, due to the subprocess module using the "select" system call. This could cause an exception: ValueError: filedescriptor out of range in select() The module now uses the "poll" system call, removing this limitation. 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-0554.html 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-0554.html |