[Ecls-list] [creelman.david at gmail.com: ECL serving http via hunchentoot, how do I get it to stay up?]

Matthew Mondor mm_lists at pulsar-zone.net
Fri Aug 17 09:10:48 UTC 2012

On Fri, 17 Aug 2012 07:54:14 +1000
David Creelman <creelman.david at gmail.com> wrote:

> I've setup a tiny server with ECL and I've quicklisp'ed the hunchentoot
> package and it works well when I start it from the REPL.
> However, If I try and run ECL as a background task which in turn is setting up
> my hunchentoot instance, ECL will stop after a variable amount of time (usually
> 5-10 minutes).

Do you mean that if started from the REPL, it can serve much longer
than that?

> I'm new to serving up pages via CL and ECL, has anyone had any luck with this?

I do, but using a custom HTTPd (I don't consider it in a state that's
ready for a release though :)

But it's good news if Huchentoot now supports ECL, as it wasn't the
case when I looked at it.

> Should I embed ECL into an exe that runs hunchentoot rather than running ECL?
> Or, if I run the server as a script, is there some way to get the script to
> not need to interact with the REPL (which I think is the problem)?

This is only a hypothesis, but it's indeed possible that output to a
necessary stream is not redirected to a null device, and that there's
an eventual error because of this...

If you're under a unix-like environment, it's rather common to launch
processes that need a terminal into a detachable tmux or screen

Another common method with CL daemons is for the server to load and
start SWANK (the server-side of SLIME), such that you could connect to
the instance and disconnect at will, using SLIME in Emacs (locally or

More information about the ecl-devel mailing list