I found that the user limits were by default 1024 and I could not set the nsslapd-maxdescriptors higher than that, so I upped the default limits and changed nsslapd-maxdescriptors to 2048. We'll see how that works out. Thanks Richard and George! -----Original Message----- >From: Richard Megginson <rmeggins at redhat.com> >Sent: Mar 2, 2007 5:55 PM >To: MJD Shop Account <mjdshop at earthlink.net>, "General discussion list for the Fedora Directory server project." <fedora-directory-users at redhat.com> >Cc: George Holbert <gholbert at broadcom.com> >Subject: Re: not enough file descriptors > >MJD Shop Account wrote: >> ah! only 1024. What is considered a reasonable value? Is it setting this or picking it up from the defaults such as ulimits? >> >The server sets this itself. So you have to set the value yourself. > >See http://www.redhat.com/docs/manuals/dir-server/pdf/ds71cli.pdf - >search for nsslapd-conntablesize and nsslapd-maxdescriptors >> I assume I need to do this on all of the multi-masters and consumers to be the same, or do I? Does it propagate? I'm not sharing the config tree among different servers. >> >> -----Original Message----- >> >>> From: George Holbert <gholbert at broadcom.com> >>> Sent: Mar 2, 2007 5:16 PM >>> To: MJD Shop Account <mjdshop at earthlink.net>, "General discussion list for the Fedora Directory server project." <fedora-directory-users at redhat.com> >>> Subject: Re: not enough file descriptors >>> >>> What is the value of the "nsslapd-maxdescriptors" attribute on cn=config? >>> >>> MJD Shop Account wrote: >>> >>>> I have a problem with running out of file descriptors. I get this repeating message periodically in the /opt/fedora-ds/slapd-<servername>/logs/errors file: >>>> [02/Mar/2007:13:25:45 -0500] - Not listening for new connections - too many fds open >>>> [02/Mar/2007:13:25:46 -0500] - Listening for new connections again >>>> [02/Mar/2007:13:25:47 -0500] - Not listening for new connections - too many fds open >>>> [02/Mar/2007:13:25:47 -0500] - Listening for new connections again >>>> ... >>>> >>>> When this happens, the users cannot log in for long periods and get angry. Imagine that. I do have this in a multi-master configuration with a second master, which is different hardware and does not show this error. >>>> >>>> I read the tuning page http://directory.fedora.redhat.com/wiki/Performance_Tuning#Linux, which recommends updating the filedescriptors limit like so: >>>> echo "64000" > /proc/sys/fs/file-max >>>> >>>> However mine is already well above that: >>>> # cat /proc/sys/fs/file-max >>>> 128456 >>>> >>>> How much higher should I be setting it? I am running RHEL 4 update 4, single Pentium III 1.4GHz processor, 1280MB of memory. >>>> >>>> I don't have any settinsg in sysctl.conf or /etc/security/limites for soft/hard limits, how do I tell what the defaults on soft/hard limits are? >>>> >>>> -- >>>> Fedora-directory-users mailing list >>>> Fedora-directory-users at redhat.com >>>> https://www.redhat.com/mailman/listinfo/fedora-directory-users >>>> >>>> >>>> >>> >>> >> >> -- >> Fedora-directory-users mailing list >> Fedora-directory-users at redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-directory-users >>