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.
DescriptionAaron Meriwether
2016-03-17 21:25:00 UTC
Created attachment 1137515[details]
The Debian patch adjusted for the RedHat libc-client-2007e-11 source
When >1024 file handles are open in a process, the IMAP library refuses to create new TCP connections.
In our case it is the asterisk-voicemail package that is encountering issues with this library.
Basically the bus arises because the bit-vector data structure used for select() calls is limited to 1024 bits. The fix is to move from select() calls to poll() calls.
This was originally discovered when using IMAP from within mod_php because Apache sometimes has a large number of file handles open, but I believe PHP's IMAP implementation has since switched to a different library.
Version-Release number of selected component (if applicable):
2007e-11 and presumably all previous
Discussed in depth on the Debian bug list here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478193
Original patch is here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?filename=uw-imap-poll.diff;att=1;msg=61;bug=478193
An adjusted patch which applies cleanly against the 2007e-11 RPM source is attached.
Thanks for the report. We're not planning any updates to libc-client at the moment, so if this is an issue for you in production please contact Red Hat support.
Created attachment 1137743[details]
Patch to specfile
We've patched and rebuilt the current RPM from our end already - it would just be nice to see the patch included in future builds.
For anyone else who comes across this bug report and needs the fix before the next official build from RedHat, I've attached the necessary specfile diff.