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 834061 - [RFE] RHDS: Implement SO_KEEPALIVE in network calls.
Summary: [RFE] RHDS: Implement SO_KEEPALIVE in network calls.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: 389-ds-base
Version: 6.4
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Rich Megginson
QA Contact: Sankar Ramalingam
URL:
Whiteboard:
: 711207 (view as bug list)
Depends On:
Blocks: 782183 840699
TreeView+ depends on / blocked
 
Reported: 2012-06-20 18:10 UTC by Nathan Kinder
Modified: 2020-09-13 19:58 UTC (History)
6 users (show)

Fixed In Version: 389-ds-base-1.2.11.12-1.el6
Doc Type: Bug Fix
Doc Text:
Cause: DS did not take into account the OS TCP keepalive setting. Consequence: Connections might be not clsoed out as they should Fix: Add the keepalive setting to DS connections Result: Connections being closed out as they should be.
Clone Of:
Environment:
Last Closed: 2013-02-21 08:19:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 191 0 None None None 2020-09-13 19:58:53 UTC
Red Hat Product Errata RHSA-2013:0503 0 normal SHIPPED_LIVE Moderate: 389-ds-base security, bug fix, and enhancement update 2013-02-21 08:18:44 UTC

Description Nathan Kinder 2012-06-20 18:10:55 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/191

https://bugzilla.redhat.com/show_bug.cgi?id=711207

{{{
2.  What is the nature and description of the request?
Implement SO_KEEPALIVE in network calls

3.  Why does the customer need this? (List the business requirements here)
Customer's RHDS being affected by lingering TCP connections that are not
correctly closed (refer to https://access.redhat.com/kb/docs/DOC-44459).
From RFC 1122:
 A TCP keep-alive mechanism should only be invoked in
 server applications that might otherwise hang
 indefinitely and consume resources unnecessarily if a
 client crashes or aborts a connection during a network
 failure.
With this implementation, RHDS would be more resilient to
misconfigured/problematic clients, at a minimum cost.

4.  How would the customer like to achieve this? (List the functional
requirements here)
Implement SO_KEEPALIVE in network calls.

5.  For each functional requirement listed in question 4, specify how Red Hat
and the customer can test to confirm the requirement is successfully
implemented.
# netstat -tnpo
 ...
 tcp        0      0 10.66.129.184:40223         10.64.10.12:636
ESTABLISHED 1337/ns-slapd         keepalive (2740.13/0/0)

6.  Is there already an existing RFE upstream or in Red Hat bugzilla?
No.

7.  How quickly does this need resolved? (desired target release)
9.x

8.  Does this request meet the RHEL Inclusion criteria (please review)
Yes

9.  List the affected packages
RHDS

10. Would the customer be able to assist in testing this functionality if
implemented?
Yes.
}}}

Comment 1 Nathan Kinder 2012-06-20 21:53:29 UTC
*** Bug 711207 has been marked as a duplicate of this bug. ***

Comment 2 RHEL Program Management 2012-07-10 07:10:09 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 4 Ludek Smid 2012-07-11 11:51:02 UTC
This request was erroneously removed from consideration in
Red Hat Enterprise Linux 6.4, which is currently under
development.  This request will be evaluated for inclusion
in Red Hat Enterprise Linux 6.4.

Comment 5 Jenny Severance 2012-08-28 13:25:44 UTC
automated egression tests covered in monitor test suite. Requires netcat [nc] to run.

Comment 7 Milan Kubík 2012-11-12 10:58:09 UTC
IP=192.168.122.211
PORT=389

$ nc -d $IP $PORT &

[mkubik@dstet-mkubik ~]$ sudo netstat -tnpo | grep ns-slapd | grep -i keepalive
tcp        0      0 ::1:389                     ::1:43130                   ESTABLISHED 6565/ns-slapd       keepalive (6807.66/0/0)
[mkubik@dstet-mkubik ~]$ echo $?
0
[mkubik@dstet-mkubik ~]$ rpm -qa | grep -i 389-ds-base
389-ds-base-1.2.11.15-3.el6.x86_64

Comment 8 errata-xmlrpc 2013-02-21 08:19:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0503.html


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