perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Wilson" <webmas...@animelab.com>
Subject Re: [mp1] modules not shared across children. preloading or fork()issue?
Date Wed, 07 Jan 2004 22:25:08 GMT
Problem solved. Turned out to be some kernel patches redhat has applyed to
their kernel. It works fine with a vanilla kernel, litteraly all memory is
reported as being shared between apache processes now like it was before.

Thanks for your help.

Danni

----- Original Message ----- 
From: "Perrin Harkins" <perrin@elem.com>
To: "Daniel Wilson" <webmaster@animelab.com>
Cc: <modperl@perl.apache.org>
Sent: Tuesday, January 06, 2004 9:54 PM
Subject: Re: [mp1] modules not shared across children. preloading or
fork()issue?


> On Mon, 2004-01-05 at 00:36, Daniel Wilson wrote:
> > This happened after moving to a new server running the same redhat 9
> > but with different kernels and glibc's.
>
> Are you absolutely positive that nothing else changed?  Not the Perl
> build, not the apache build, not your code, not your config files?
>
> > 1. mod_perl is not loading modules before the fork()'s.
>
> Easy to verify.  Dump %INC at the end of your startup.pl and it will
> show you what has been loaded.
>
> > ------- httpd.conf #####################
> >
> > PerlModule Apache::Registry Apache::RegistryLoader DBD::mysql
> > BSD::Resource DBI
> > PerlModule Storable Text::Kakasi Encode::Encoding Apache::DBI Carp
> > PerlModule IPC::Shareable Jcode IPC::SysV Encode Encode::Alias
> > Lingua::JA::Romaji
>
> There used to be a limit on how many modules you could load with
> PerlModule.  I'm not sure if there still is.  Try moving all of these
> into startup.pl instead.
>
> - Perrin
>
>
> -- 
> Reporting bugs: http://perl.apache.org/bugs/
> Mail list info: http://perl.apache.org/maillist/modperl.html


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Mime
View raw message