On Fri, 17 Aug 2012 07:54:14 +1000 David Creelman <creelman.da...@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 session. 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 remotely). -- Matt ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list