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

Re: slapd size and file descriptors



--On Wednesday, February 27, 2008 8:51 PM -0800 Howard Chu <hyc@symas.com> wrote:

No, this is not OS dependent at all. slapd allocates its own Connection
array based on the number of available descriptors. There's nothing
unusual going on here, though 500K+ descriptors seems a bit excessive.
Unless you have a server listening on multiple network interfaces, the
most connections you're likely to get is 32768 or shy of 65536, depending
on OS. You should really think about what you're trying to accomplish and
what the realistic constraints actually are.

On deployments with multi-million users (of which we have), it is not unreasonable that between slapd/imap/pop/mysql etc for there to be a need for a high number of file descriptors in use for the zimbra user. However, I think it may be reasonable to break slapd out into its own user, so it can use a reduced set of file descriptors.


--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration