[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4474) back-ldap not cleaning fds

On Wed, 2006-04-05 at 13:19 +0000, richton@nbcs.rutgers.edu wrote:
> Full_Name: Aaron Richton
> Version: 2.3.20+ITS4429
> OS: Solaris 9
> URL: 
> Submission from: (NULL) (
> See also ITS#4420?
> After running happily with back-ldap (with conn-ttl set to 30 just for stress of
> the patch) for about a week, I got
>  daemon: 4097 beyond descriptor table size 4096
> lsof was hopeless. pfiles worked, and showed 4083 open connections outbound to
> the host specified in the back-ldap uri argument.
> This server doesn't have anywhere near that much load. It seems like conn-ttl
> leaves the fd dangling? (Or maybe back-ldap does regardless, and conn-ttl brings
> it to light.)

Yes, that's been fixed (everything should already be in re23).  It took
much less for me to hit that limit, since I routinely experiment with
10000-20000 search/s load and conn-ttl set to 3s (for benchmarking, not
in the real world yet).

Please check re23 and report.  To make sure you hit the limit, you may
modify data/slapd-meta.conf to have a very low conn-ttl in it; then run
test039 with a higher number of loops and let it run for a while.  Note
that in my heavy load tests I didn't use TLS so you might be able to
report on that as well.


Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it