[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: 1024 fd limit ?
Howard Chu wrote:
>
>
> > Stricly openLDAP related issue now : IF we can't pass this 1024 fd
> > barrier, is it possible to use a forking model in that case ?? If I
> > understand correctly, threads shares all ressources (and so, the 1024
> > limit is for the whole set of threads) - forks, instead are real
> > processes ... and don't suffer from the same problem...
> > But I doubt there is such a mecanism in openldap 2.0.7 (and I imagine it
> > will complexify code a little...)
>
> That's for sure. You can approximate this approach using replicas, and
> try to distribute your client load among all the replicas. It's not a
> great solution, but it might work as a stopgap.
that's why we already have 2 replicas...
(We have only 2 servers routed for our clients)
the only possibility was to use replica on THE SAME HOSTS but with
different port numbers ...
But ulimit is the answer :)
Yann Dupont.