Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-04 Thread Stas Bekman
e-mol Development Team wrote: After some thinking time I decided to compile perl 5.8.0 on the older system that did have 5.6.1. It would seem it has nothing to do with perl 5.8.0. I compiled perl 5.8.0 on the older system and preloading worked just like it should. Now I know that it does not have

Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-04 Thread e-mol Development Team
After some thinking time I decided to compile perl 5.8.0 on the older system that did have 5.6.1. It would seem it has nothing to do with perl 5.8.0. I compiled perl 5.8.0 on the older system and preloading worked just like it should. Now I know that it does not have anything to do with perl or

Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-04 Thread Stas Bekman
I think next I may try and see if perl 5.6.1 can be build on the 5.8.0 system and see what this leads to. I wonder if it could be the newer gcc or glibc? This is quite possible, since the sharing mostly comes from your OS, not specificly from Perl. You may also want to try the latest perl-5.8.1

Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-04 Thread e-mol Development Team
>e-mol Development Team wrote: >>>diff -u 5.6.1.txt 5.8.0.txt > >The two builds are quite different, I have pointed out below at least a few >major differences. > >> [EMAIL PROTECTED] src]# diff -u 5.6.1.txt 5.8.0.txt >> --- 5.6.1.txt 2003-09-03 14:07:02.0 -0400 >> +++ 5.8.0.txt 2003-09

Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-03 Thread Stas Bekman
[make sure to keep the replies on the list. Thank you!] e-mol Development Team wrote: diff -u 5.6.1.txt 5.8.0.txt The two builds are quite different, I have pointed out below at least a few major differences. [EMAIL PROTECTED] src]# diff -u 5.6.1.txt 5.8.0.txt --- 5.6.1.txt 2003-09-03 14:07:02

Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-03 Thread Stas Bekman
e-mol Development Team wrote: I have two servers running Apache 1.3.27 and mod_perl 1.27 both severs are running identical httpd.conf and startup.pl configurations. One is running Perl 5.8.0 the other is running 5.6.1. When I do the preloading of modules on the 5.6.1 system all seems well and sha

Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-03 Thread e-mol Development Team
I have two servers running Apache 1.3.27 and mod_perl 1.27 both severs are running identical httpd.conf and startup.pl configurations. One is running Perl 5.8.0 the other is running 5.6.1. When I do the preloading of modules on the 5.6.1 system all seems well and shared memory goes up while unsha

Newbie Question - Preloading Modules

2002-08-20 Thread Scotty
What is the most effecient way of preloading modules to use for mod_perl? I currently use a startup.pl within my httpd.conf, but I know I will not have access to this configuration file on my shared hosting account. Scott Anderson BTS/Payright [EMAIL PROTECTED] 206-242-7088 xt231

Re: Class data & preloading modules

2001-11-27 Thread Perrin Harkins
> * initialize everything in the parent Apache, just make sure to create > new DBI connections in the children. That's what I would do. It increases the amount of shared memory. Disconnect the DBI connection when you're done with it. Apache::DBI doesn't cache connections during startup, so th

Class data & preloading modules

2001-11-23 Thread Adriano Nagelschmidt Rodrigues
Hi, I have some modules that use the idiom package Foo; use Bar; { my $bar = Bar->new(args); sub bar { return $bar } } which works fine until one tries to preload them in startup.pl. I realized that, by preloading, I was innocently sharing the same DBI object between Apache children (not

Re: Preloading modules

2000-05-25 Thread David Hodgkinson
"Eric Jain" <[EMAIL PROTECTED]> writes: > Any Perl module required from within a module which has been preloaded > through PerlRequire or PerlModule in httpd.conf will be preloaded into > shared memory as well. Correct? Yes. Thus saving some latency when Apache forks a new child. -- Dave Hodg

Preloading modules

2000-05-25 Thread Eric Jain
Any Perl module required from within a module which has been preloaded through PerlRequire or PerlModule in httpd.conf will be preloaded into shared memory as well. Correct? -- Eric Jain

Preloading Modules with mod_perl as a shared object doesn't work!

2000-01-06 Thread Brian Powell
Okay, I have finally tracked down the source of the problem I am having and would appreciate your suggestions and work-arounds. First, I am using mod_perl; however, like the docs say, I wanted to preload modules, so, I have in my httpd.conf: PerlRequire /startup.pl For a startup.pl I have: use