Sure sounds like it should be using apr_reslist.
On Fri, 2004-05-21 at 18:29 +0200, Graham Leggett wrote:
> Hi all,
>
> The mod_ldap module in httpd provides an LDAP connection pool. When
> connections are created, they are registered with apr pools as a cleanup
> when the pool is reclaimed, which in our case only happens on a graceful
> server restart.
>
> On Solaris, this leaves many long lived connections held open in the
> CLOSE_WAIT state, as the server timed out, but httpd's LDAP connection
> pool didn't notice.
>
> Is there an apr function that could be used to put a time limit on a
> pool cleanup, in other words "run this cleanup after X minutes"? It
> would be up to the cleanup to decide whether timing out the connection
> would be appropriate.
>
> Regards,
> Graham
> --