<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">On Tue, Nov 10, 2020 at 4:16 PM Fong, Trevor <<a href="mailto:trevor.fong@ubc.ca">trevor.fong@ubc.ca</a>> wrote:</span><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">That would explain the file descriptor exhaustion we see on our LDAP servers under high load.<br></blockquote><div><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Sorry, I rushed through this question earlier and jumped to what I perceived as a documentation problem without answering your question. The validatePeriod doesn't affect the pruning of the pool. The idleness of a connection is a function of its time waiting to be checked out, it isn't impacted by validation queries. The prunePeriod and idleTime *are* coupled; setting and idleTime < prunePeriod wouldn't give you the desired results.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I don't think your resource exhaustion is related to these particular settings. Under load it would be unlikely for connections to be removed from the pool regardless of these settings.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">--Daniel Fisher</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div></div></div>