[Catalyst] Trapping exit/respawning FastCgiExternalServer

Gavin Henry ghenry at perl.me.uk
Thu Jun 28 10:52:40 GMT 2007


<quote who="Matt S Trout">
> 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?

We've had this twict this week. Fastcgi daemon just disappears. Whats the
best way to debug this? We've never seen this on my_server.pl etc.

>
> 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/
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
>




More information about the Catalyst mailing list