[Catalyst] Trapping exit/respawning FastCgiExternalServer

Matt S Trout dbix-class at trout.me.uk
Fri Jun 8 14:17:49 GMT 2007


On Thu, Jun 07, 2007 at 05:11:50PM -0700, Andrew Peebles wrote:
> Running a "production" Catalyst app as a FastCgiExternalServer.  
> Occasionally it crashes.

As in the process exits?

As in everything up to and including the procmanager process 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 ...

If the perl interpreter's gone entirely there's no stack trace left.

So this is either two questions or one self-contradictory one.

More info please :)

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 



More information about the Catalyst mailing list