[ 
https://issues.apache.org/jira/browse/CONNECTORS-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13573556#comment-13573556
 ] 

Karl Wright commented on CONNECTORS-638:
----------------------------------------

I found one possibility in the connection expiration code.  If the database 
handle close operation fails during connection expiration, and it fails by 
throwing anything other than a SQLException, we could leak handles.

r1443521 fixes this potential issue.

                
> Possible leakage of database connection handles
> -----------------------------------------------
>
>                 Key: CONNECTORS-638
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-638
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 1.0, ManifoldCF 1.0.1
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Critical
>             Fix For: ManifoldCF 1.2
>
>
> Reports of a leak of connection handles, shown because ManifoldCF winds up 
> waiting to get a connection, and failing.
> The database in question so far always seems to be PostgreSQL, FWIW, and it 
> has been proven that there is a connection handle leak, so that all the 
> crawler threads are eventually waiting for non-existent connection handles.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to