>>>>> "Denis" == Denis Papathanasiou <[EMAIL PROTECTED]> writes:

Sorry for the long delay....

    Denis> But since the server process is doing vanilla I/O on the local
    Denis> filesystem -- using (with-open-file) -- to read and write files it
    Denis> owns (there's also plenty of disk space), I'm not sure what the 
"bogus
    Denis> handlers" message means exactly.

I've had some problems with serve-event before.  It would work fine,
handling lots of traffic to just one client, but on an overnight run,
it would sometimes just stop working.  I cannot remember if it was the
bogus handler issue or not, though.

    Denis> I've looked for references to explain this message, but couldn't find
    Denis> any. Could anyone point me to an explanation, or help me understand
    Denis> what is happening?

src/code/serve-event.lisp is the source.  It seems that after doing a
select, one of the file descriptors is bad in some way.  But the error
message you get "NIL have bad file descriptors" doesn't make much
sense.  That would indicate that there are no bogus handlers.

    Denis> And as part of that, does anyone know whether or not the function I
    Denis> mentioned earlier -- (clear-bogus-handlers) -- would clear that 
error,
    Denis> assuming I put it as a condition in the right place in my server 
code?

Are you running on x86, with multiprocessing enabled?  Perhaps that's
getting in the way of things?  Perhaps you can modify sub-serve-event
to print out the value and err from select before calling
handler-descriptor-error.  Or maybe there really isn't a bogus handler
and the restart-case in handler-descriptors-error should be skipped?

Sorry I can't be more helpful,

Ray



Reply via email to