Actually, I've had some bad experiences with the Carp module. I was
using Carp for all my errors and warnings within mod_perl on our
development server, but when I moved it to our production server
(both similarly configured) it cause every request to core dump. I
never figured out what the problem was, but removing the use Carp;
and the calls to carp and croak stopped the core dumps.
Has anyone else had problems with the Carp module and mod_perl?
Robert Landrum
At 8:49 AM -0800 1/31/01, Doug MacEachern wrote:
>On Mon, 29 Jan 2001, Robert Landrum wrote:
>
>> I have yet to solve the runaway problem, but I came up with a way of
>> identifying the URLS that are causing the problems.
>>
>> First, I added the following to a startup.pl script...
>>
>> $SIG{'USR2'} = \&apache_runaway_handler;
>
>setting that to \&Carp::confess to get a stacktrace might be more useful.