[nio-devel] nio-httpd error
quasi
quasilists at gmail.com
Mon May 29 09:38:25 UTC 2006
Hey,
I was testing the nio-httpd server with ab2. With concurrency level
set to 1 I can serve up to 930 pages/sec. But as soon as I change the
concurrency level to anything above one I get the following error. But
this is at the end of the benchmark run. For example : I ran ab2 for
1000 requests to the 'dyn' page at concurrency 5. It completes the
benchmark with 1000 requests completed (7 failed) and I get the
following error in the REPL.
thanks,
SIGPIPE at #XB7FD23A1
[Condition of type SIMPLE-ERROR]
Restarts:
0: [ABORT-REQUEST] Abort handling SLIME request.
1: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread" {C011BB9}>)
Backtrace:
0: ((FLET #:G178))
1: (SB-UNIX::SIGPIPE-HANDLER #<unavailable argument> #<unavailable argument> #.(SB-SYS:INT-SAP #XB647CA7C))
2: (SB-SYS:INVOKE-INTERRUPTION #<CLOSURE (LAMBDA NIL) {D4FD545}>)
3: ("foreign function: call_into_lisp")
4: ("foreign function: funcall3")
5: ("foreign function: interrupt_handle_now")
6: ("bogus stack frame")
7: (NIO::%WRITE 49 #.(SB-SYS:INT-SAP #XAEC52800) 165)
8: (NIO::WRITE-MORE #S(NIO::SOCKET :FD 49 :FAMILY :INET4 :REMOTE-HOST (127 0 0 1) :REMOTE-PORT 44942 :FOREIGN-READ-BUFFER #.(SB-SYS:INT-SAP #XAEA95218) :READ-BUFFER-SZ 4096 :READ-USED-SZ 93 :WRITE-QUEUE (#S(NIO::WRITE-QUEUE-ENTRY :BUFFER #.(SB-SYS:INT-SAP #XAEC52800) :SIZE 165 :WRITTEN 0))))
9: (NIO:WRITE-SOCKET #S(NIO::SOCKET :FD 49 :FAMILY :INET4 :REMOTE-HOST (127 0 0 1) :REMOTE-PORT 44942 :FOREIGN-READ-BUFFER #.(SB-SYS:INT-SAP #XAEA95218) :READ-BUFFER-SZ 4096 :READ-USED-SZ 93 :WRITE-QUEUE (#S(NIO::WRITE-QUEUE-ENTRY :BUFFER #.(SB-SYS:INT-SAP #XAEC52800) :SIZE 165 :WRITTEN 0))) #(67 111 110 116 101 110 116 45 108 101 ...))
10: ((LAMBDA (NIO-HTTPD::CLIENT NIO-HTTPD::DATA)) #S(NIO::SOCKET :FD 49 :FAMILY :INET4 :REMOTE-HOST (127 0 0 1) :REMOTE-PORT 44942 :FOREIGN-READ-BUFFER #.(SB-SYS:INT-SAP #XAEA95218) :READ-BUFFER-SZ 4096 :READ-USED-SZ 93 :WRITE-QUEUE (#S(NIO::WRITE-QUEUE-ENTRY :BUFFER #.(SB-SYS:INT-SAP #XAEC52800) :SIZE 165 :WRITTEN 0))) #(71 69 84 32 47 100 121 110 32 72 ...))
11: (NIO-SERVER:START-SERVER #<CLOSURE (LAMBDA (NIO-HTTPD::CLIENT NIO-HTTPD::DATA)) {D597115}> #<FUNCTION (LAMBDA (NIO-HTTPD::X)) {E29FC5D}> :PROTOCOL :INET :PORT NIL :HOST "127.0.0.1" :ACCEPT-CONNECTION NIL)
12: (NIO-HTTPD:START)
13: (SB-INT:EVAL-IN-LEXENV (NIO-HTTPD:START) #<NULL-LEXENV>)
14: (SWANK::EVAL-REGION "(nio-httpd:START)
" T)
15: ((LAMBDA NIL))
16: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS (T)) #<unused argument> #<unused argument> #<CLOSURE (LAMBDA NIL) {D5960ED}>)
17: ((LAMBDA (SB-PCL::.ARG0.)) #<unavailable argument>)
18: (SWANK::CALL-WITH-BUFFER-SYNTAX #<CLOSURE (LAMBDA NIL) {D5960ED}>)
19: (SWANK:LISTENER-EVAL "(nio-httpd:START)
")
--
quasi
Utopia Unlimited!
More information about the Nio-devel
mailing list