Disable LDAP Pooling

Daniel Fisher dfisher at vt.edu
Tue Jan 14 16:49:49 EST 2020


On Tue, Jan 14, 2020 at 1:16 PM Crawford, Jeffrey <jcrawford at it.ucla.edu>
wrote:

> Hi All,
>
>
>
> We have a misbehaving load balancer in front of our LDAP server that seems
> to drop connections that are open for too long, despite being configured to
> allow connections up to one hour. Until we can figure out why that is
> happening, we want to disable pooling on the attribute resolver. We tried
> commenting out the section:
>         <ConnectionPool minPoolSize="3"
>
>                     maxPoolSize="10"
>
>                     blockWhenEmpty="true"
>
>                     blockWaitTime="PT5S"
>
>                     validatePeriodically="true"
>
>                     validateTimerPeriod="PT30M"
>
>                     expirationTime="PT10M"/>
>
>
>
> But that seems to revert pooling to default values, is there a flag of
> some sort that disables pooling altogether?
>

Commenting out the pool config should do the trick. Can you share your
configuration and some DEBUG logs for the org.ldaptive package at startup?

--Daniel Fisher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20200114/ac53761d/attachment.html>


More information about the users mailing list