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.
Bug 1344860 - Flushing channels can caused leaked file-descriptors
Summary: Flushing channels can caused leaked file-descriptors
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: tcl
Version: 6.9
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-11 19:42 UTC by Jeremy Sowden
Modified: 2016-06-14 07:48 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1344866 (view as bug list)
Environment:
Last Closed: 2016-06-14 07:48:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Tcl patch. (5.43 KB, patch)
2016-06-11 19:42 UTC, Jeremy Sowden
no flags Details | Diff

Description Jeremy Sowden 2016-06-11 19:42:55 UTC
Created attachment 1167021 [details]
Tcl patch.

Description of problem:

It turns out that under some Linux kernels (including rhel5 and rhel6), select(2) does not return as writable sockets which have been closed from the other end, even though calls to sendmsg (which is what POSIX gives as the implied output function for sockets) would not block.  This can result in Tcl's leaking socket-descriptors.

I reported this bug upstream two years ago:

http://core.tcl.tk/tcl/info/1758a0b603

but forgot to raise it here.

I've attached a patch derived from upstream's fix.

Comment 2 Jaroslav Škarvada 2016-06-14 07:48:29 UTC
Closing according to bug 1344866 comment 8. If the problem persist, feel free to reopen.


Note You need to log in before you can comment on or make changes to this bug.