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

RE: 1024 fd limit ?



 
> 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.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc