Bug 567429
| Summary: | slapd didn't close connection and get into CLOSE_WAIT state | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] 389 | Reporter: | beyonddc.storage | ||||||||
| Component: | Directory Server | Assignee: | Rich Megginson <rmeggins> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | low | ||||||||||
| Version: | 1.2.1 | CC: | beyonddc.storage, jgalipea | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2015-12-07 17:03:12 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: | |||||||||||
| Bug Blocks: | 434914, 543590 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
beyonddc.storage
2010-02-22 23:18:48 UTC
Created attachment 395601 [details]
JNDI Test Reproducer
Might require minor modification to set the correct directory manager username and password and the base dn to run the test.
Created attachment 395602 [details]
a netstat script I use to monitor slapd open connection
Require to run as root or an user with sudo privilege.
Created attachment 402698 [details]
patch
To ssh://git.fedorahosted.org/git/389/ds.git
65e04b8..48d50e8 master -> master
commit 48d50e8f06e0c2fd8e2541c3c239217a6b72ebbc
Author: Rich Megginson <rmeggins>
Date: Thu Mar 25 15:11:58 2010 -0600
Reviewed by: nhosoi (Thanks!)
Branch: HEAD
Fix Description: The JNDI code attached to the bug uses persistent search.
The connection pool code handles persistent searches differently than
regular connections. The connection pool code was acquiring a reference
to a conn, but was not releasing it in the persistent search case, assumin
the persistent search code did not also have a reference, but it does. Th
caused connection_table_move_connection_out_of_active_list() to not move
the connection out of the active list, and therefore available for closing
because there was an outstanding reference. The solution is for the
connection pool code to release its reference.
Platforms tested: RHEL5 x86_64
Flag Day: no
Doc impact: no
To ssh://git.fedorahosted.org/git/389/ds.git
41c5be0..6dec072 Directory_Server_8_2_Branch -> Directory_Server_8_2_Branch
commit 6dec0725ba70e97deefcaec605b5192368e2625c
Author: Rich Megginson <rmeggins>
Date: Thu Mar 25 15:11:58 2010 -0600
|