Re: java.net.SocketException: Too many open files

2000-12-27 Thread Kurt Bernhard Pruenner
Dusty Leary wrote: Now, though, I'm getting bitten by the "too many open files" thing... In a netsearch I ran across the ulimit command, although it was apparently used on solaris... My machine is a linux machine, with fd limit 1024... I set it to the highest settings, 1048576, and it

RE: java.net.SocketException: Too many open files

2000-12-27 Thread Steven Newton
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