Re: possible memory leaks, FreeBSD,mod_perl/1.29

2006-09-29 Thread Perrin Harkins
On Fri, 2006-09-29 at 19:31 +0300, Assen Tchorbadjiev wrote: > This is the dummy handler package > > package My::X; > sub handler { > my $r = shift; > $r->content_type( 'text/html' ); > $r->send_http_header(); > $r->print( $$ ); > 200; > } > 1; Th

Re: [mp2] problems with path attribute of HTML::Template

2006-09-29 Thread Jonathan Vanasco
On Sep 29, 2006, at 12:38 PM, Alexander Koeppe wrote: Hi List, I've observed a problem with mod_perl2 and HTML::Template VERSION: 2.8. If I create a new template object with my $template = HTML::Template->new( filename => "menu.html", path => [ "/path/to/templates",

[mp2] problems with path attribute of HTML::Template

2006-09-29 Thread Alexander Koeppe
Hi List, I've observed a problem with mod_perl2 and HTML::Template VERSION: 2.8. If I create a new template object with my $template = HTML::Template->new( filename => "menu.html", path => [ "/path/to/templates", "/also/path/to/templates" ] ); and restart A

Re: possible memory leaks, FreeBSD,mod_perl/1.29

2006-09-29 Thread Jonathan
That's probably just normal apache growth-- possibly nothing to do with modperl i'd suggest using: Devel::GC::Helper and Devel::Leak to check refcounts... see what's going on There's a lot of crazy ways you can have process growth within mod- perl that are just perl

possible memory leaks, FreeBSD,mod_perl/1.29

2006-09-29 Thread Assen Tchorbadjiev
Hi all, I've read through similar postings to this list before, but none of them describe what I am seeing, and its not about that `apache restart` is leaking memory. Here's the case: FreeBSD `myhost` 5.4-STABLE. Apache 1.3.37, perl 5.8.8, mod_perl 1.29 - all built via the ports (by default m

Re: Reading custom configuration parameters

2006-09-29 Thread Erik Norgaard
Erik Norgaard wrote: I have successfully created a module that declares some configuration parameters which should be available to the handler: dbDriver, dbHost, dbName, dbUser and dbPassword. Or so I think, I followed this guide: http://perl.apache.org/docs/2.0/user/config/custom.html So