Bug 478909

Summary: CA int db conn leak in setSerialNumber and getSerialNumber - CS running out of ldap connections
Product: [Retired] Dogtag Certificate System Reporter: Marc Sauton <msauton>
Component: CAAssignee: Andrew Wnuk <awnuk>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: urgent    
Version: 1.1CC: awnuk, benl, dpal, mharmsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-22 23:30:55 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: 443788    
Attachments:
Description Flags
proposed fix none

Description Marc Sauton 2009-01-05 22:42:22 UTC
Description of problem:

A CA instance can run out of ldap internal db connections in some cases.

Log example:
8816.Thread-2705 - [01/Jul/2008:18:06:16 GMT+00:00] [8] [2] In Ldap
(bound) connection pool to host localhost port 38901, Ran out of ldap
connections available in l
dap connection pool to localhost:38901. This could be a temporary
condition or an indication of something more serious that can cause the
server to hang.

Comment 2 Andrew Wnuk 2009-03-24 21:43:40 UTC
Created attachment 336552 [details]
proposed fix

Comment 3 Matthew Harmsen 2009-03-24 21:49:44 UTC
attachment (id=336552) +mharmsen

Comment 4 Andrew Wnuk 2009-03-24 21:58:38 UTC
svn commit pki/dogtag/common/pki-common.spec
Sending        pki/dogtag/common/pki-common.spec
Transmitting file data .
Committed revision 319.

svn commit pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java
Sending        pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java
Transmitting file data .
Committed revision 320.

svn commit pki/base/common/src/com/netscape/cmscore/dbs/Repository.java
Sending        pki/base/common/src/com/netscape/cmscore/dbs/Repository.java
Transmitting file data .
Committed revision 321.

svn commit pki/base/common/src/com/netscape/cms/ocsp/DefStore.java
Sending        pki/base/common/src/com/netscape/cms/ocsp/DefStore.java
Transmitting file data .
Committed revision 322.