Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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.
looks as if this issue wasn't resolve in RHEL6.
just hit it when trying to start 50 vms over single host.
had 762 processes of dd running.
Thread-2548::ERROR::2010-11-07 10:50:39,579::clientIF::48::vds::(wrapper) Traceback (most recent call last):
File "/usr/share/vdsm/clientIF.py", line 44, in wrapper
res = f(*args, **kwargs)
File "/usr/share/vdsm/clientIF.py", line 887, in getVdsCapabilities
self.machineCapabilities = self._getCapabilities()
File "/usr/share/vdsm/clientIF.py", line 875, in _getCapabilities
caps['emulatedMachines'] = getEmulatedMachines()
File "/usr/share/vdsm/clientIF.py", line 794, in getEmulatedMachines
' -M ?') ][1:]
File "/usr/share/vdsm/utils.py", line 576, in execAndGetOutput
out, err = p.communicate()
File "/usr/lib64/python2.6/subprocess.py", line 701, in communicate
return self._communicate(input)
File "/usr/lib64/python2.6/subprocess.py", line 1199, in _communicate
rlist, wlist, xlist = select.select(read_set, write_set, [])
ValueError: filedescriptor out of range in select()
Traceback (most recent call last):
File "/usr/share/vdsm/storage/task.py", line 863, in _run
return fn(*args, **kargs)
File "/usr/share/vdsm/storage/hsm.py", line 1468, in public_getVolumeSize
apparentsize = str(volume.Volume.getVSize(sdUUID, imgUUID, volUUID, bs=1))
File "/usr/share/vdsm/storage/volume.py", line 244, in getVSize
return mysd.getVolumeClass().getVSize(mysd, imgUUID, volUUID, bs)
File "/usr/share/vdsm/storage/blockVolume.py", line 47, in getVSize
return int(int(lvm.getLVInfo(sdobj.sdUUID, volUUID)) / bs)
File "/usr/share/vdsm/storage/lvm.py", line 1122, in getLVInfo
return getLV(vg, lv).size
File "/usr/share/vdsm/storage/lvm.py", line 923, in getLV
return _lvminfo.getLv(vg, lv)
File "/usr/share/vdsm/storage/lvm.py", line 567, in getLv
lvs = self._reloadlvs(vgName)
File "/usr/share/vdsm/storage/lvm.py", line 429, in _reloadlvs
rc, out, err = self.cmd(cmd)
File "/usr/share/vdsm/storage/lvm.py", line 354, in cmd
return misc.execCmd(cmd)
File "/usr/share/vdsm/storage/misc.py", line 116, in execCmd
env=env)
File "/usr/lib64/python2.6/subprocess.py", line 633, in __init__
errread, errwrite)
File "/usr/lib64/python2.6/subprocess.py", line 1049, in _execute_child
self.pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable
File "/usr/share/vdsm/storage/storage_mailbox.py", line 667, in run
self._checkForMail()
File "/usr/share/vdsm/storage/storage_mailbox.py", line 626, in _checkForMail
(rc, in_mail, err) = misc.execCmd(cmd, sudo=False, raw=True)
File "/usr/share/vdsm/storage/misc.py", line 116, in execCmd
env=env)
File "/usr/lib64/python2.6/subprocess.py", line 626, in __init__
errread, errwrite) = self._get_handles(stdin, stdout, stderr)
File "/usr/lib64/python2.6/subprocess.py", line 968, in _get_handles
p2cread, p2cwrite = os.pipe()
OSError: [Errno 24] Too many open files
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
looks as if this issue wasn't resolve in RHEL6. just hit it when trying to start 50 vms over single host. had 762 processes of dd running. Thread-2548::ERROR::2010-11-07 10:50:39,579::clientIF::48::vds::(wrapper) Traceback (most recent call last): File "/usr/share/vdsm/clientIF.py", line 44, in wrapper res = f(*args, **kwargs) File "/usr/share/vdsm/clientIF.py", line 887, in getVdsCapabilities self.machineCapabilities = self._getCapabilities() File "/usr/share/vdsm/clientIF.py", line 875, in _getCapabilities caps['emulatedMachines'] = getEmulatedMachines() File "/usr/share/vdsm/clientIF.py", line 794, in getEmulatedMachines ' -M ?') ][1:] File "/usr/share/vdsm/utils.py", line 576, in execAndGetOutput out, err = p.communicate() File "/usr/lib64/python2.6/subprocess.py", line 701, in communicate return self._communicate(input) File "/usr/lib64/python2.6/subprocess.py", line 1199, in _communicate rlist, wlist, xlist = select.select(read_set, write_set, []) ValueError: filedescriptor out of range in select() Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 863, in _run return fn(*args, **kargs) File "/usr/share/vdsm/storage/hsm.py", line 1468, in public_getVolumeSize apparentsize = str(volume.Volume.getVSize(sdUUID, imgUUID, volUUID, bs=1)) File "/usr/share/vdsm/storage/volume.py", line 244, in getVSize return mysd.getVolumeClass().getVSize(mysd, imgUUID, volUUID, bs) File "/usr/share/vdsm/storage/blockVolume.py", line 47, in getVSize return int(int(lvm.getLVInfo(sdobj.sdUUID, volUUID)) / bs) File "/usr/share/vdsm/storage/lvm.py", line 1122, in getLVInfo return getLV(vg, lv).size File "/usr/share/vdsm/storage/lvm.py", line 923, in getLV return _lvminfo.getLv(vg, lv) File "/usr/share/vdsm/storage/lvm.py", line 567, in getLv lvs = self._reloadlvs(vgName) File "/usr/share/vdsm/storage/lvm.py", line 429, in _reloadlvs rc, out, err = self.cmd(cmd) File "/usr/share/vdsm/storage/lvm.py", line 354, in cmd return misc.execCmd(cmd) File "/usr/share/vdsm/storage/misc.py", line 116, in execCmd env=env) File "/usr/lib64/python2.6/subprocess.py", line 633, in __init__ errread, errwrite) File "/usr/lib64/python2.6/subprocess.py", line 1049, in _execute_child self.pid = os.fork() OSError: [Errno 11] Resource temporarily unavailable File "/usr/share/vdsm/storage/storage_mailbox.py", line 667, in run self._checkForMail() File "/usr/share/vdsm/storage/storage_mailbox.py", line 626, in _checkForMail (rc, in_mail, err) = misc.execCmd(cmd, sudo=False, raw=True) File "/usr/share/vdsm/storage/misc.py", line 116, in execCmd env=env) File "/usr/lib64/python2.6/subprocess.py", line 626, in __init__ errread, errwrite) = self._get_handles(stdin, stdout, stderr) File "/usr/lib64/python2.6/subprocess.py", line 968, in _get_handles p2cread, p2cwrite = os.pipe() OSError: [Errno 24] Too many open files