[Lispweb] Causes for araneida to hang?

Brian Mastenbrook brian at mastenbrook.net
Tue Sep 26 07:11:43 CDT 2006


On Sep 25, 2006, at 9:52 PM, Jonathon McKitrick wrote:

> SBCL 0.9.11~ running on Debian.  I've not played with threads, so  
> is there a
> default setting?  I'm running pound to route port 80 to the server  
> running on
> port 8000.

If your Lisp is threaded, Araneida will default to using threads. To  
check if your lisp is threaded, look for :sb-thread in your  
*features* list.

> I keep seeing messages that someone (or something) is trying to  
> connect to
> port 25, sendmail.  I think I need to tell the reverse proxy to  
> ignore this,
> correct?  Sorry, but I am totally new to running an exposed http  
> server like
> this, especially non-apache.

The reverse proxy should only be handling port 80, not any other  
port. Those messages might be from your firewall.

> Hmm.  I guess that's possible.  I'm accessing a database backend  
> and talking
> in XML to the client.  I'm not sure though how I'd track down a  
> timeout of
> this type.

How are you accessing the database? Sockets? FFI?

> Would you give me a pointer in the right direction how to do this?   
> I have
> seen a few messages about file descriptors, and then some 'can't  
> connect,
> trying harder' messages.

Can you give an example of the messages you're seeing?

>
> : Is the image which is running this connected to any other network
> : services? I do have occasional hangs on http://paste.lisp.org/ which
> : has 7 open connections to freenode IRC. My personal web servers  
> never
> : hang at all.
>
> No, just the http port.

It sounds as if you're also connected to a database server.

--
Brian Mastenbrook
brian at mastenbrook.net
http://brian.mastenbrook.net/



More information about the lispweb mailing list