ContextSourceMonitor Leaks LDAP Connections

Description

The ContextSourceMonitor component allocates connections as part of its health check, but fails to close them. This produces a pernicious resource leak that can quickly cause an OOM condition under circumstances where this monitor is configured and the /status URI is an enterprise monitoring endpoint.

Environment

None

Activity

Show:

Marvin AddisonAugust 13, 2013 at 8:27 PM

Note that this issue does not affect 4.x since new ldaptive-based components supersede this and other monitors that use Spring LDAP.

Marvin AddisonAugust 13, 2013 at 8:26 PM

Pull request containing fix:

https://github.com/Jasig/cas/pull/300

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created August 13, 2013 at 7:12 PM
Updated September 25, 2013 at 10:48 AM
Resolved September 25, 2013 at 10:48 AM

Flag notifications