Re: 1000 socket connections send GC in an infinite loop
Gisle Sælensminde <[email protected]>
| Newsgroups | gmane.lisp.cmucl.general |
|---|---|
| Message-ID | <[email protected]> |
Martin Rydstr|m wrote: >"Chaitanya Gupta" <[email protected]> writes: > > >>So its a cmucl problem? i.e. too many open sockets (1000 in my case), >>or is it something else? >> >> > >I think it's a more general problem; most unixes don't handle more >than about 1000 open fd's well with select. (At least I /think/ >that's the problem.) > >',mr > > > That limit can be adjusted with the ulimit command in (in bash, limit in tcsh). For % ulimit -n # prints the maximal number of open files 1024 % ulimit -n 4096 #sets the maximal number of files to 4096