SGD 4.2 - How to Tune OS to allow more file descriptors per process

We have started getting this error in our array and have to stop and start the server to allow users to login. Here is the error taken from stderrout.log.

Tune your operating system to allow more file descriptors per process.

2006/10/18 13:05:41.673 (pid 1499)proxy/server#1496324

Sun Secure Global Desktop Software(4.2) ERROR:

the server has run out of file descriptors

The server has hit it's limit of client connections, a new connection can only proceed when a current one exits.

Tune your operating system to allow more file descriptors per process.

Any ideas on how to tune the os to allow more descriptors per process?

Thanks in advance!

[707 byte] By [readytek] at [2007-11-26 10:54:15]
# 1
Can you please state which operating system you are using. Since changing the amount of available filedescriptors depends on the OS.
remold at 2007-7-7 3:07:06 > top of Java-index,Desktop,Sun Secure Global Desktop Software...
# 2
Can you give the output of the following command:/opt/tarantella/bin/tarantella config list --tuning-maxfiledescriptorsYou can try to increase the number by using:/opt/tarantella/bin/tarantella config list --tuning-maxfiledescriptors <number>
remold at 2007-7-7 3:07:06 > top of Java-index,Desktop,Sun Secure Global Desktop Software...
# 3
Red Hat Enterprise Linux ES release 3 (Taroon Update 8)
readytek at 2007-7-7 3:07:06 > top of Java-index,Desktop,Sun Secure Global Desktop Software...
# 4
[root@secure2 etc]# /opt/tarantella/bin/tarantella config list --tuning-maxfiledescriptorstuning-maxfiledescriptors: 4096I will try to double that amount to 8192
readytek at 2007-7-7 3:07:06 > top of Java-index,Desktop,Sun Secure Global Desktop Software...
# 5
When I issued the following command:/opt/tarantella/bin/tarantella config list --tuning-maxfiledescriptors 8192I just get the same info returned:tuning-maxfiledescriptors: 4096The number did not change to 8192Please advise.
readytek at 2007-7-7 3:07:06 > top of Java-index,Desktop,Sun Secure Global Desktop Software...
# 6
I found the "Tuning" section in the array manager and was able to change the "File Descriptors" value to 8192.We'll reboot the servers and see if that works.
readytek at 2007-7-7 3:07:06 > top of Java-index,Desktop,Sun Secure Global Desktop Software...
# 7
You have to change the max fike-descriptors on you OS as well.Perform the follwing commands as root:echo 64000 > /proc/sys/fs/file-maxulimit -n 64000To make these settings reboot proof add these lines to rc.local
remold at 2007-7-7 3:07:06 > top of Java-index,Desktop,Sun Secure Global Desktop Software...