[hunchentoot-devel] Problem with flexi-stream-bound on openmcl
Denis Mashkevich
nedenis at gmail.com
Tue Oct 2 17:27:14 UTC 2007
On Sep 30, 2007, at 8:45 PM, Edi Weitz wrote:
> Hmm, did you notice that it thinks the package is HUNCHENTOOT and not
> FLEXI-STREAMS? My /guess/ is that you didn't recompile Hunchentoot
> after upgrading FLEXI-STREAMS. Could you try again by deleting /all/
> FASL files (Hunchentoot and dependencies) and starting from scratch?
That probably was the case, although I was pretty sure I removed all
dfsls before restarting openmcl and reloading the system.
> If this doesn't resolve the issue, let me know. (Right now, I don't
> have a means to test on OpenMCL, but I just bought a new laptop with a
> Core 2 Duo processor, so I should have it installed in a few days.)
Now I have another problem. In a clean image, I load hunchentoot and
start a server. For a while, requests are served - sometimes a few
seconds, sometimes a minute or more. Then this is signaled:
(this is under slime)
Stream #<BASIC-FILE-BINARY-OUTPUT-STREAM ("/tmp/hunchentoot.log"/13
ISO-8859-1) #x929C1E6> is private to #<PROCESS hunchentoot-worker-1
(11) [Exhausted] #x929ADB6>
[Condition of type SIMPLE-ERROR]
Restarts:
0: [ABORT-BREAK] Reset this process
1: [ABORT] Kill this process
Backtrace:
0: (#<Anonymous Function #x85ECF46> 0 20)
1: (SWANK:BACKTRACE 1 41)
2: (CCL::CALL-CHECK-REGS 'SWANK:BACKTRACE)
3: (#<Anonymous Function #x862EE56> '(SWANK:BACKTRACE 1 41) 48 'NIL)
4: (#<Anonymous Function #x8574CEE> #<Compiled-function
SWANK:SWANK-DEBUGGER-HOOK #x862986E> #<COMPILED-LEXICAL-CLOSURE
#x92BE67E>)
5: (FUNCALL 'SWANK::EVAL-FOR-EMACS)
6: (SWANK::SLDB-LOOP #<CONNECTION #x86566B6>)
7: (SWANK::CALL-WITH-BINDINGS '((*PRINT-PRETTY* . T) (*PRINT-
LEVEL* . 4) (*PRINT-LENGTH* . 10)
(*PRINT-CIRCLE* . T) (*PRINT-READABLY*)
(*PRINT-PPRINT-DISPATCH*
. #S(CCL::PPRINT-DISPATCH-TABLE :CONSES-WITH-CARS #<HASH-
TABLE :TEST EQ size 60/60 #x85FECB6>
:STRUCTURES NIL
:OTHERS (# #)))
(*PRINT-GENSYM* . T) (*PRINT-BASE* . 10) (*PRINT-RADIX*)
(*PRINT-ARRAY* . T) ...) #<Anonymous Function #x86287D6>)
8: (#<Anonymous Function #x85EDDFE> #<Anonymous Function #x8628826>)
9: (SWANK::DEBUG-IN-EMACS #<SIMPLE-ERROR #x92A4BCE>)
10: (#<Anonymous Function #x8574CEE> #<Compiled-function SWANK:SWANK-
DEBUGGER-HOOK #x862986E> #<COMPILED-LEXICAL-CLOSURE #x92A4BB6>)
11: (SWANK::CALL-WITH-REDIRECTED-IO #<COMPILED-LEXICAL-CLOSURE
#x92A4B9E> #<Compiled-function SWANK:SWANK-DEBUGGER-HOOK #x862986E>)
12: (SWANK::CALL-WITH-CONNECTION #<CONNECTION #x86566B6> #<COMPILED-
LEXICAL-CLOSURE #x92A4BB6>)
13: (INVOKE-DEBUGGER #<SIMPLE-ERROR #x92A4BCE>)
14: (SIGNAL #<SIMPLE-ERROR #x92A4BCE>)
15: (CCL::%ERROR '(#<BASIC-FILE-BINARY-OUTPUT-STREAM ("/tmp/
hunchentoot.log"/13 ISO-8859-1) #x929C1E6>
#<PROCESS hunchentoot-worker-1(11) [Exhausted] #x929ADB6>)
-66477372)
16: (#<CCL::STANDARD-KERNEL-METHOD STREAM-WRITE-VECTOR (CCL::BASIC-
BINARY-OUTPUT-STREAM
T
T
T)> #<BASIC-
FILE-BINARY-OUTPUT-STREAM ("/tmp/hunchentoot.log"/13 ISO-8859-1)
#x929C1E6> #(91 0 0 0 0 0 0 0 0 0 ...) 0 1)
17: (WRITE-SEQUENCE #(91) #<BASIC-FILE-BINARY-OUTPUT-STREAM ("/tmp/
hunchentoot.log"/13 ISO-8859-1) #x929C1E6>)
18: (#<STANDARD-METHOD TRIVIAL-GRAY-STREAMS:STREAM-WRITE-SEQUENCE
(FLEXI-STREAMS:FLEXI-OUTPUT-STREAM
STRING
T
T)
> #<FLEXI-STREAMS::FLEXI-UTF-8-OUTPUT-STREAM #x929BEA6> "[~A~@[ [~A]
~]] ~A~%" 0 1)
19: (WRITE-STRING "[~A~@[ [~A]~]] ~A~%" #<FLEXI-STREAMS::FLEXI-UTF-8-
OUTPUT-STREAM #x929BEA6>)
20: (CCL::SUB-FORMAT #<FLEXI-STREAMS::FLEXI-UTF-8-OUTPUT-STREAM
#x929BEA6> 0 19)
21: (CCL::DO-SUB-FORMAT #<FLEXI-STREAMS::FLEXI-UTF-8-OUTPUT-STREAM
#x929BEA6>)
22: (FORMAT #<FLEXI-STREAMS::FLEXI-UTF-8-OUTPUT-STREAM #x929BEA6>
"[~A~@[ [~A]~]] ~A~%")
23: (#<STANDARD-METHOD HUNCHENTOOT:LOG-MESSAGE (T T)> ':INFO "Default
handler called for script ~A")
24: (HUNCHENTOOT::DEFAULT-HANDLER)
25: (HUNCHENTOOT::PROCESS-REQUEST '((:HOST . "localhost:3003")
(:USER-AGENT
. "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:
1.8.1.7) Gecko/20070914 Firefox/2.0.0.7")
(:ACCEPT
. "text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5")
(:ACCEPT-LANGUAGE . "en-us,en;q=0.5")
(:ACCEPT-ENCODING . "gzip,deflate") (:ACCEPT-CHARSET .
"UTF-8,*")
(:KEEP-ALIVE . "300") (:CONNECTION . "keep-alive")
(:CACHE-CONTROL . "max-age=0")) #<FLEXI-STREAMS::FLEXI-
LATIN-1-IO-STREAM #x92A73C6> ':GET "/" ':HTTP/1.1)
26: (HUNCHENTOOT::PROCESS-CONNECTION #<HUNCHENTOOT::SERVER #x929AC26>
#<BASIC-TCP-STREAM ISO-8859-1 (SOCKET/12) #x92A2A9E>)
27: (CCL::RUN-PROCESS-INITIAL-FORM '(#<COMPILED-LEXICAL-CLOSURE
#x92A253E>) #<PROCESS hunchentoot-worker-2(12) [Active] #x92A2576>)
28: (#<Anonymous Function #x8174C16> '(#<COMPILED-LEXICAL-CLOSURE
#x92A253E>) 0)
29: (#<Anonymous Function #x815EF56> 788896 #<LISP-THREAD hunchentoot-
worker-2 [tcr @ #x302680] #x92A26EE>)
Without slime, it takes longer, and the thread state is different
(waiting for lock, not exhausted).
> Debug: Stream #<BASIC-FILE-BINARY-OUTPUT-STREAM ("/tmp/
hunchentoot.log"/7 ISO-8859-1) #x90F8916> is private to #<PROCESS
hunchentoot-worker-1(3) [waiting for lock] #x90F78CE>
> While executing: SIGNAL, in process hunchentoot-worker-2(4).
;;;
;;; #<PROCESS hunchentoot-worker-2(4) [Active] #x913FCFE> requires
access to Shared Terminal Input
;;;
Do you have any ideas about this?
More information about the Tbnl-devel
mailing list