Re: 1000 socket connections send GC in an infinite loop

Raymond Toy <[email protected]>
Newsgroups gmane.lisp.cmucl.general
Message-ID <[email protected]>
>>>>> "Chaitanya" == Chaitanya Gupta <[email protected]> writes:

    Chaitanya> On 9/12/06, Vladimir Sekissov <[email protected]> wrote:
    >> Good day,
    >> 
    >> Look at FORCIBLY-CLOSE-STREAM function in Araneida source,
    >> file compat/compat-cmucl.lisp:

    Chaitanya> The fix I made to thttp:http-get also works fine. Whether there is any
    Chaitanya> error or not, the socket is closed now. The number of sockets open
    Chaitanya> remain quite low now.

Cool!

    >> It helped me in the same situation.

    Chaitanya> So its a cmucl problem? i.e. too many open sockets (1000 in my case),
    Chaitanya> or is it something else?

I think it's the user's responsibility to release resources.  CMUCL
will usually free up files eventually, assuming you can wait that
long.  Don't know how sockets are handled though.

Ray
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.