14 Chapter 2. Computer System Requirements
Tip
Red Hat Enterprise Linux is distributed with two RPM packages for glibc, one for 386 processors and
higher, the other for 486 or Pentium processors and higher. The 386 package has no NPTL support.
If the 386 package is installed on a machine, you lose NPTL support. Once this has happened, it is
very hard to detect because rpm -q reports the package name and version without the architecture
tag.
To determine which RPM package is installed, run the following command:
getconf GNU_LIBPTHREAD_VERSION
2.3.2.3. Installing System Patches
Directory Server has been certified on Red Hat Enterprise Linux with the following kernel and glibc
versions:
• Red Hat Enterprise Linux 3: kernel revisions 2.4.21-4.EL (kernel-2.4.21-4.EL.i686.rpm) and glibc
version 2.3.2-95.20 (glibc-2.3.2-95.20.i686.rpm).
• Red Hat Enterprise Linux 4: default kernel kernel-2.6.9-5_EL (with certification on kernel-2.6.9-
5.0.5.EL) and glibc version glibc-2.3-4.2 (with certification on glibc-2.3.2-95.30).
It is recommended that you use these kernel and glibc versions. If the machine is a single CPU ma-
chine, the corresponding kernel would be of the form kernel-x.x.x.x. If the machine is a multi-
CPU machine, the corresponding kernel would be of the form kernel-smp-x.x.x.x.
You can get the list of software installed on your system, including patches, by running: rpm -qa
2.3.2.4. Tuning the System
This section contains some basic system tuning information. Changing any of the following kernel-
tuning parameters requires a system reboot.
• NFS Tuning: This tuning is recommended if you are using Directory Server to write to NFS
mounted drives. On Linux, NFS is typically recommended to be done over TCP and not over UDP.
Make the following change to the /etc/rc.d/init.d/autofs file:
+ localoptions=’rsize=8192,wsize=8192,vers=3,tcp’
• TCP Tuning: You can increase the number of available local system ports available by running this
command:
echo "1024 65000" > /proc/sys/net/ipv4/ip_local_port_range
Make this change permanent by adding this line to the /etc/sysctl.conf file:
net.ipv4.ip_local_port_range = 1024 65000
• File Tuning: Check the current maximum number of files that can be stored on your system:
cat /proc/sys/fs/file-max
If this number is less than 64000, increase it with this command:
echo 64000 > /proc/sys/fs/file-max
Make the change permanent by adding this line to the /etc/sysctl.conf file:
fs.file-max = 64000
• Then, you need to increase the maximum number of open files. Add the following line to the
/etc/security/limits.conf file:
* - nofile 8192