tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Newton <Steven.New...@Qsent.com>
Subject RE: java.net.SocketException: Too many open files
Date Wed, 27 Dec 2000 20:10:17 GMT

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

Mime
View raw message