Re: Apache (mod_perl) restart issues

2005-08-19 Thread Boysenberry Payne
On Aug 19, 2005, at 6:45 PM, Todd Finney wrote: perldoc perldiag Attempt to free unreferenced scalar (W internal) Perl went to decrement the reference count of a scalar to see if it would go to 0, and discovered that it had already gone to 0 earlier, and shou

Re: Apache (mod_perl) restart issues

2005-08-19 Thread Perrin Harkins
On Fri, 2005-08-19 at 18:40 -0500, Boysenberry Payne wrote: > I turned off both: > > PerlFreshRestart On Don't ever use that. > PerlModule Apache::StatINC > PerlInitHandler Apache::StatINC Only use that in development, not on a production server. Apache::Reload is the newer and better version.

Re: Apache (mod_perl) restart issues

2005-08-19 Thread Boysenberry Payne
I turned off both: PerlFreshRestart On PerlModule Apache::StatINC PerlInitHandler Apache::StatINC on the Linux server and still get the errors. I'm going to look into Devel::Leak and Devel::LeakTrace Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Aug 19, 2005, at

Re: Apache (mod_perl) restart issues

2005-08-19 Thread Boysenberry Payne
On Aug 19, 2005, at 4:10 PM, Philip M. Gollucci wrote: I believe what you are seeing is a known bug in the Apache 1.3.x/mp1 series. I don't think its your code. I believe google searches will yeild this; I know I've seen it before. I've found a lot of people mentioning similar errors when I

Re: Apache (mod_perl) restart issues

2005-08-19 Thread Perrin Harkins
On Fri, 2005-08-19 at 16:02 -0500, Boysenberry Payne wrote: > I still don't know how to track down the scalars > being leaked. > Could they be being caused from something like the following? > > sub example { > return 1; > } > example; No, I don't think so. You can try using things like D

Re: Apache (mod_perl) restart issues

2005-08-19 Thread Philip M. Gollucci
Boysenberry Payne wrote: So I figured out how to get the perl debugger working with mod_perl, thanks to Practical mod_perl. I still don't know how to track down the scalars [Sun Feb 13 01:00:00 2000] null: Attempt to free unreferenced scalar. ... I'm using mod_perl 1.26 and apache 1.3.33 (only

Re: Apache (mod_perl) restart issues

2005-08-19 Thread Boysenberry Payne
So I figured out how to get the perl debugger working with mod_perl, thanks to Practical mod_perl. I still don't know how to track down the scalars being leaked. Could they be being caused from something like the following? sub example { return 1; } example; Because the the void conte

Re: Apache (mod_perl) restart issues

2005-08-17 Thread Boysenberry Payne
The last set of errors are happening on my OSX box. I get a different set of errors on our Linux server when it restarts: [Sun Feb 13 01:00:00 2000] null: Attempt to free unreferenced scalar. ... I get a whole mess of those, then I get: Scalars leaked: 234 I'm not sure how to go about fixing t