Hi.
I have the following simple script that I am trying to run under the Apache::Registery module under mod_perl.
 
use CGI;
use Template;
my $config = {
              INCLUDE_PATH => '/path/to/my/templates',
 
                   };
       
# Create Template object
$template  = Template->new($config);
 
my $vars = {};
my $output;
$template->process('competition.html', $vars, \$output) || die $template->error();
 
my $cgi = new CGI;
 
print $cgi->header();
print $output;
 
 
 
This all works fine (nice and fast), but the problem I'm having is that if I do a simple load test using LWP and repeatedly call this page, the memory footprint of the apache child processes continue to grow indefinitly.
I know the template toolkit has been run successfully under mod_perl by many people but are there any Apache::Registry specific problems?
 
I'm running redhat 7.2, Apache 1.3.27, Perl 5.6.0, mod_perl 1.24.
Thanks.
Billy. 

Reply via email to