[hunchentoot-devel] Socket errors during requests

Andrei Stebakov lispercat at gmail.com
Tue May 5 23:50:30 UTC 2009


My log is full of messages like:
[2009-05-05 19:29:29 [ERROR]] Error while processing connection: I/O timeout
reading #<SB-SYS:FD-STREAM for "a socket" {D0CDBA9}>

If I trap the error stack it's like this:

0: (SB-DEBUG::MAP-BACKTRACE #<CLOSURE (LAMBDA #) {CFFA47D}>)[:EXTERNAL]
1: (BACKTRACE 536870911 #<SB-IMPL::STRING-OUTPUT-STREAM {CFB5DA1}>)
2: (TRIVIAL-BACKTRACE:PRINT-BACKTRACE-TO-STREAM
   #<SB-IMPL::STRING-OUTPUT-STREAM {CFB5DA1}>)
3: (TRIVIAL-BACKTRACE:PRINT-BACKTRACE 0)[:EXTERNAL]
4: (MY-API::MY-MESSAGE-LOGGER
   :ERROR
   "Error while processing connection: ~A"
   #<SB-SYS:IO-TIMEOUT {CF67F81}>)
5: ((FLET #:LAMBDA121) #<SB-SYS:IO-TIMEOUT {CF67F81}>)
6: (SIGNAL #<SB-SYS:IO-TIMEOUT {CF67F81}>)[:EXTERNAL]
7: (ERROR SB-SYS:IO-TIMEOUT)[:EXTERNAL]
8: (SB-IMPL::SIGNAL-TIMEOUT SB-SYS:IO-TIMEOUT)[:EXTERNAL]
9: (SB-IMPL::REFILL-INPUT-BUFFER #<SB-SYS:FD-STREAM for "a socket"
{C3DEF69}>)
10: (SB-IMPL::INPUT-UNSIGNED-8BIT-BYTE
    #<SB-SYS:FD-STREAM for "a socket" {C3DEF69}>
    NIL
    NIL)
11: (CHUNGA:READ-CHAR* #<SB-SYS:FD-STREAM for "a socket" {C3DEF69}> NIL NIL)
12: (CHUNGA:READ-LINE* #<SB-SYS:FD-STREAM for "a socket" {C3DEF69}> NIL)
13: (HUNCHENTOOT::READ-INITIAL-REQUEST-LINE
    #<SB-SYS:FD-STREAM for "a socket" {C3DEF69}>)
14: (HUNCHENTOOT::GET-REQUEST-DATA #<SB-SYS:FD-STREAM for "a socket"
{C3DEF69}>)
15: ((SB-PCL::FAST-METHOD HUNCHENTOOT:PROCESS-CONNECTION
     (HUNCHENTOOT:ACCEPTOR T))
    #<unavailable argument>
    #<unavailable argument>
    #<MY-API::MY-ACCEPTOR (host *, port 3003)>
    #<USOCKET:STREAM-USOCKET {C3DFF69}>)
16: ((SB-PCL::FAST-METHOD HUNCHENTOOT:PROCESS-CONNECTION :AROUND
     (HUNCHENTOOT:ACCEPTOR T))
    #<unavailable argument>
    #S(SB-PCL::FAST-METHOD-CALL
       :FUNCTION #<FUNCTION #>
       :PV NIL
       :NEXT-METHOD-CALL NIL
       :ARG-INFO (2))
    #<MY-API::MY-ACCEPTOR (host *, port 3003)>
    #<USOCKET:STREAM-USOCKET {C3DFF69}>)
17: ((FLET #:WITHOUT-INTERRUPTS-BODY-[BLOCK353]358))
18: ((FLET SB-THREAD::WITH-MUTEX-THUNK))
19: ((FLET #:WITHOUT-INTERRUPTS-BODY-[CALL-WITH-MUTEX]267))
20: (SB-THREAD::CALL-WITH-MUTEX
    #<CLOSURE (FLET SB-THREAD::WITH-MUTEX-THUNK) {B6D20245}>
    #S(SB-THREAD:MUTEX
       :NAME "thread result lock"
       :%OWNER #<SB-THREAD:THREAD "Hunchentoot worker (client:
127.0.0.1:44453)" RUNNING {C436EA9}>
       :STATE 1)
    #<SB-THREAD:THREAD "Hunchentoot worker (client: 127.0.0.1:44453)"
RUNNING {C436EA9}>

What could be the reason for the errors?

Thank you,
Andrei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20090505/4167d01f/attachment.html>


More information about the Tbnl-devel mailing list