Hi Mikel,
Please send Hunchentoot question to the appropriate mailing list, see
Cc.
On Sun, 17 Aug 2008 06:08:54 -0500, mikel evins <mevins(a)mac.com> wrote:
> Sorry to bother you with an old problem, but I'm stumbling over a
> problem that is maybe an old one you're familiar with. I have a web
> application built on Hunchentoot and cl-prevalence. I got fairly far
> along and then ran into the problem where the lisp (Clozure CL)
> process dies trying to write to a stream:
>
> Error: Stream #<BASIC-FILE-CHARACTER-OUTPUT-STREAM ("/Users/mikel/
> Valise/guild/trunk/src/ccl-src/ymra.world.db/transaction-log.xml"/6
> ISO-8859-1) #x30004294610D> is private to #<PROCESS hunchentoot-
> worker-7(10) [Exhausted] #x300042944F8D>
>
> Presumably the cl-prevalence code that tries to write to the db is
> using a stream that was created private in a different thread. Do
> you remember where I should look for the code you used to fix this
> for other cases? I'll track down the culprit and fix it; I was just
> hoping to speed the process along by finding code that already did
> the right thing somewhere.
>
> Thanks for any help.
>
> In case it's of interest, I'm using Hunchentoot 0.15.6 on Clozure CL
> 1.2-r10477M-trunk with cl-prevalence 1.6.
This looks like a CCL-specific problem not really related to
Hunchentoot. Look at the :SHARING :LOCK keyword arguments to OPEN in
log.lisp, maybe this'll help for your streams.
Cheers,
Edi.