FedoraLdap: Difference between revisions

From MDWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 22: Line 22:
       net.ipv4.ip_local_port_range = 1024 65000
       net.ipv4.ip_local_port_range = 1024 65000
       fs.file-max = 64000
       fs.file-max = 64000
      # hostname/domainname
      kernel.hostname = lychee.md.smms.uq.edu.au
      kernel.domainname = md.smms.uq.edu.au


Check file /opt/fedora-ds/slapd-lychee/config/dse.ldif
Check file /opt/fedora-ds/slapd-lychee/config/dse.ldif


       nsslapd-maxdescriptors: 8192
       nsslapd-maxdescriptors: 8192

Revision as of 06:24, 12 May 2009

The Fedora Directory server.

Notes

Fedora-ds requires a large number of file handles. This should be configured via the Fedora-ds admin console.

Open the Directory Server, select Tab Configuration, then select Tab Performance and change field "Maximum number of file descriptors" to 8192.

It may be necessary to also change the Unix process limits in one or more of the following locations.

In script /etc/init.d/fedora-ds, add line

            ulimit -n 8192

Check file /etc/security/limits.conf, add the following line:

          *               -       nofile       8192

Check file /etc/sysctl.conf, make sure fs.file-max is larger than the limit specified in /etc/limits.conf:

      # ADDED FOR FDS
      net.ipv4.tcp_keepalive_time = 300
      net.ipv4.ip_local_port_range = 1024 65000
      fs.file-max = 64000

Check file /opt/fedora-ds/slapd-lychee/config/dse.ldif

      nsslapd-maxdescriptors: 8192