[Catalyst] Trapping exit/respawning FastCgiExternalServer

Leo Cacciari leo.cacciari at gmail.com
Fri Jun 8 08:57:36 GMT 2007


Il giorno gio, 07/06/2007 alle 17.11 -0700, Andrew Peebles ha scritto:
> Running a "production" Catalyst app as a FastCgiExternalServer.  
> Occasionally it crashes.  I'd like to trap that event, use StackTrace 
> and send the web admin email (with the trace) to alert them to the 
> crash.  Ideally I would even like to have the app respawned.  Haven't 
> figured out how ...

Hi,
  assuming your production server is a *nix machine, you could use
daemontools (http://cr.yp.to/daemontools.html) as described in the
2006's Catalyst Advent Calendar
(http://www.catalystframework.org/calendar/2006/4).

-- 
Leo "TheHobbit" Cacciari
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio
	firmata digitalmente
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070608/366ed902/attachment.pgp


More information about the Catalyst mailing list