Saravana Kumar wrote: > Richard Megginson wrote: > > >> Saravana Kumar wrote: >> >>> Richard Megginson wrote: >>> >>> >>> >>>> You need to increase the number of file descriptors. >>>> See http://directory.fedora.redhat.com/wiki/Performance_Tuning#Linux >>>> and >>>> http://www.redhat.com/docs/manuals/dir-server/pdf/ds71cli.pdf - search >>>> for nsslapd-maxdescriptors >>>> >>>> Saravana Kumar wrote: >>>> >>>> >>>>> Hi, >>>>> >>>>> I am running FDS in one of my servers. It serves authinfo(username & >>>>> password) and automount info to about 50 clients. During peak >>>>> hours(when the number of connections to the server are high) it is very >>>>> difficult to operate in the client machines and the server fails to >>>>> respond. Then i end up in hard rebooting the server. After reboot slapd >>>>> would not start(i have scripts to start fds and fds-admin). I have to >>>>> run ./setup/setup again to start the fds-admin. >>>>> >>>>> Can some one tell me why is this happenning? Is it a bug? >>>>> >>>>> The only error i see in the slapd logs is this: >>>>> 17/Aug/2006:15:18:15 +051800] - Listening for new connections again >>>>> [17/Aug/2006:15:18:15 +051800] - Not listening for new connections - >>>>> [too >>>>> many fds open >>>>> >>>>> >>>>> Thanks in advance for any pointers. >>>>> >>>>> --- >>>>> SK >>>>> >>>>> -- >>>>> Fedora-directory-users mailing list >>>>> Fedora-directory-users at redhat.com >>>>> https://www.redhat.com/mailman/listinfo/fedora-directory-users >>>>> >>>>> >>>>> >>> Thanks Richard, >>> >>> After posting here i infact got to this page: >>> http://www.redhat.com/docs/manuals/dir-server/cli/config.htm >>> and checked nsslapd-maxdescriptors(it is 1024) and >>> nsslapd-ntconntablesize(is 1024). My /proc/sys/fs/file-max is already >>> 102432. >>> >>> I tried to change the nslapd-ntconntablesize from adminconsole, it failed >>> with the error nsslapd-maxdescriptor is 1024. Then i tried to change >>> maxdescriptor to 4096 it failed with the error maxfile descriptors must >>> range from 1 to 1024 (the current file descriptors). >>> >>> >> You may have to edit the slapd-instance/start-slapd script to set ulimit >> -n 8192 or something like that first. What does ulimit -n say? >> > ulimit -n says 1024. > > It set the value manually like this ulimit -n 8192(also put it > in /etc/profile). Try putting it in /opt/fedora-ds/slapd-instance/start-slapd > Restarted fds admin server. admin server or directory server? > Tried to change the > nsslapd-maxdescriptors but it gives the same error again. > Yes. The ulimit -n didn't take effect for the directory server for some reason. > TIA, > SK > > > -- > Fedora-directory-users mailing list > Fedora-directory-users at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users > -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3178 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20060823/d019c2ff/attachment.bin