From: kulyuki

Subject: too many open streams

Date: 1997-4-28 20:32


Hello,

This question is probably more pertinent to the CL-HTTP
mailing list but since I know that some of you guys hack
CL-HTTP quite a bit I decided to post it here as well. So
here we go.

We are running CL-HTTP-60.57.1.10.23 under ACL4.3/Unix. We use
CL-HTTP to embed a question answering system. We load all the
server's code except the file with examples into the running
lisp image and then load our files. The problem we have is that 
after a few dozen questions the system crashes with the message 
"too many open streams." Every file I/O operation in our code is 
done with WITH-OPEN-FILE which should close the stream as soon 
as control leaves its scope. Has anyone had a similar problem 
before? Could anyone tell us what things we should be looking
for? Is there a way to ask CL-HTTP how many open streams it has 
at the moment? 

Thanks,
VK

P.S. As far as I can tell ACL4.3/Unix can handle at most
53 open streams at a time. But I don't know a) if this is
a Unix restriction or b) if this info is helpful at all.