Re: 1000 socket connections send GC in an infinite loop

Martin Rydstr|m <[email protected]>
Newsgroups gmane.lisp.cmucl.general
Message-ID <[email protected]>
On Wed, Sep 13, 2006 at 09:43:50AM +0100, Gisle Sælensminde wrote:
> 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.)

> 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

That changes the maximum number of open files; it doesn't change how
well select handles a set of files, when there are many, if I have
understood it all correctly.

',mr

-- 
[Emacs] is written in Lisp, which is the only computer language that is
beautiful.  -- Neal Stephenson, _In the Beginning was the Command Line_
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.