#define NR_SUPER 256
Increase max number of entries cashed in /usr/include/linux/nfs_fs.h
#define NFS_LOOKUP_CACHE_SIZE 256
Then recompile kernel. After this, add the following lines to
your
file /etc/rc.d/rc.sysinit
echo 32768 > /proc/sys/kernel/inode-max
echo 16384 > /proc/sys/kernel/file-max
To fix the problem with the number of rsh's that can be started,
change the line in /etc/inetd.conf to read
shell stream tcp nowait.511 root /usr/sbin/tcpd in.rshd
also recompile /usr/src/redhat/netkit-base/inetd/inetd.c and change
RETRYTIME (60*10)
to
RETRYTIME (10)
#define _STK_LIM (8*1024*1024)
to
#define _STK_LIM (64*1024*1024)
Then recompile the kernel.
Obviously, this creates a default hard limit of 64MB...the value
can be changed to whatever one desires/needs.