Actually it's quite easy on linux 2.2.x kernels:

echo 32768 > /proc/sys/fs/file-max
echo 65536 > /proc/sys/fs/inode-max
increases the system limit on open files, and
ulimit -n 32768
increases the current process' limit.

See http://www.kegel.com/c10k.html#limits.filehandles
and the multiple terrific links to other information
from that page.


s

Reply via email to