[Mongrel] Daemonizing a camping server

Zed A. Shaw zedshaw at zedshaw.com
Thu Mar 15 05:59:12 EDT 2007


On Wed, 14 Mar 2007 11:23:41 -0400
Matt Zukowski <mzukowski at urbacon.net> wrote:

> I didn't get any responses to my previous post about this, so I figure
> maybe I'm not explaining myself clearly enough. My problem is fairly
> simple. I'm trying to run a Camping server as a background (daemon)
> process. I'm using Mongrel configurator's "daemonize()" method to do
> this. However, when I daemonize the server, I got a huge spew of:

Sorry Matt, I've been travelling a lot lately and missed this.
 
> !!!!!! UNHANDLED EXCEPTION! closed stream.  TELL ZED HE'S A MORON.

It says tell ZED not the mongrel-users mailing list. :-)

Anyway, the exception is a weird one since it's saying that you've
opened this port and then it's closed right away.  You'll have to give
me sample code and the platform information so I can replicate it
better.  I'm thinking it might be something strange about this platform
when a client closes right at the accept point.


-- 
Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
http://www.zedshaw.com/
http://www.awprofessional.com/title/0321483502 -- The Mongrel Book
http://mongrel.rubyforge.org/


More information about the Mongrel-users mailing list