Re: [PATCH] END blocks may segfault

2010-06-30 Thread Tim Bunce
On Wed, Jun 30, 2010 at 09:24:42AM -0600, Alex Hunsaker wrote: > On Wed, Jun 30, 2010 at 02:49, Tim Bunce wrote: > > On Tue, Jun 29, 2010 at 09:50:00PM -0700, Fred Moyer wrote: > >> I think getting rid of the segfault is a good thing.  But if the main > >> problem is i

Re: [PATCH] END blocks may segfault

2010-06-30 Thread Tim Bunce
On Tue, Jun 29, 2010 at 09:50:00PM -0700, Fred Moyer wrote: > On Mon, Jun 28, 2010 at 11:15 AM, Alex Hunsaker wrote: > > > Another option would be to copy/local() the array in > > modpler_perl_call_list.  Of course that still wont get it "right" > > because we wont run any newly defined subs... B

Re: Getting NYTProf to work with vhosts that use PerlOptions +Parent

2010-04-30 Thread Tim Bunce
On Thu, Apr 29, 2010 at 04:02:05PM -0700, Fred Moyer wrote: > On Thu, Apr 29, 2010 at 4:39 AM, Tim Bunce wrote: > > On Wed, Apr 28, 2010 at 11:25:14PM -0400, Adam Prime wrote: > >> Maybe you could try doing the push_handler for the ChildExitHandler > >> when the ChildIn

Re: Getting NYTProf to work with vhosts that use PerlOptions +Parent

2010-04-29 Thread Tim Bunce
> Adam > > Tim Bunce wrote: > >This is proving to be tricky. > > > >If I load Devel::NYTProf::Apache[1] in the main part of httpd.conf then > >I get a profile that includes all the activity *except* for any activity > >in vhosts that use +Parent. > > > >

Getting NYTProf to work with vhosts that use PerlOptions +Parent

2010-04-28 Thread Tim Bunce
This is proving to be tricky. If I load Devel::NYTProf::Apache[1] in the main part of httpd.conf then I get a profile that includes all the activity *except* for any activity in vhosts that use +Parent. If I load it inside the VirtualHost section then I get a profile of activity within that vhost

Re: mod_perl2 DBI handle freshining problem solved "once and for all"...

2006-02-02 Thread Tim Bunce
On Wed, Feb 01, 2006 at 02:06:22PM -0800, Tyler MacDonald wrote: > Perrin Harkins <[EMAIL PROTECTED]> wrote: > > > You have to expect certain basic things to work, and one of them is that a > > connection which can't be ping'ed is not holding a table lock. > > I completely disagree. Here's

Re: mod_perl2 DBI handle freshining problem solved "once and for all"...

2006-02-01 Thread Tim Bunce
On Tue, Jan 31, 2006 at 01:23:12PM -0800, Tyler MacDonald wrote: > Apache::DBI and DBI's connect_cached both claim to keep your database > handles fresh and happy, but I've had numerous problems trying to get either > of them to work properly. If a database connection is dropped, sometimes I'd > ha

Re: Apache::DBI and DBD::Pg

2006-01-17 Thread Tim Bunce
On Mon, Jan 16, 2006 at 12:42:10PM -0800, Tyler MacDonald wrote: > Jeremy Nixon <[EMAIL PROTECTED]> wrote: > > It looks like it would work perfectly with connect_cached, which I hadn't > > known about, but now that I do, I'm all excited to change my code to use > > it instead of Apache::DBI. > >

Re: Apache::DBI and DBD::Pg

2006-01-15 Thread Tim Bunce
On Sun, Jan 15, 2006 at 02:00:15AM +, Jeremy Nixon wrote: > Tyler MacDonald <[EMAIL PROTECTED]> wrote: > > > [Fri Jan 13 23:46:28 2006] [error] [client 192.168.99.112] DBD::Pg::db > > prepare_cached failed: FATAL: terminating connection due to administrator > > Here's the thing: if your data

Re: [PATCH] DBI::ProfileDumper::Apache ported to mp2 RC5+

2005-08-31 Thread Tim Bunce
[I wrote this over a week ago but queued it waiting till I submitted the changes. That's still not happened yet so I'll just post it anyway.] On Sun, Aug 21, 2005 at 05:22:34PM -0400, Philip M. Gollucci wrote: > Hi, > > On Sun, Aug 21, 2005 at 01:59:34PM -0400, Sam Tregar wrote: > >Very cool! On

Re: [PATCH] DBI::ProfileDumper::Apache ported to mp2 RC5+

2005-08-21 Thread Tim Bunce
On Sun, Aug 21, 2005 at 01:59:34PM -0400, Sam Tregar wrote: > On Sun, 21 Aug 2005, Philip M. Gollucci wrote: > > > Hi all, > > > > Nuff said! > > Very cool! One comment: don't bother with 'use constant' here. The > tiny amount of time saved by using a constant will be overwhelmed by > the time