Hi,
I'm writing my first mod_perl handler. I'd like to make the handler some
kind of dispatcher that dynamically loads certain modules depending on
the URI called:
/foo/index = require foo; $result = foo::index();
/foo/other = require foo; $result = foo::other();
/bar/index = require bar;
Jochen Lillich wrote:
Hi,
I'm writing my first mod_perl handler. I'd like to make the handler some
kind of dispatcher that dynamically loads certain modules depending on
the URI called:
/foo/index = require foo; $result = foo::index();
/foo/other = require foo; $result = foo::other();
Hi Jochen,
I'd recommend having a read of this
http://perl.apache.org/docs/1.0/guide/performance.html#Sharing_Memory
Not sure how much it applies to your situation, but basically, unless the
different modules are very large and rarely used you really want to load them
all at server startup.
How can I tell if a module is compiled and loaded into the memory properly
when the server starts?
Would it not be loaded even if I have put use My::ModuleName in the
startup.pl?
Bird
On Thu, 5 Jul 2001, Bird Lei wrote:
How can I tell if a module is compiled and loaded into the memory properly
when the server starts?
Would it not be loaded even if I have put use My::ModuleName in the
startup.pl?
use the Apache::Status module and read http://perl.apache.org/guide
Thanks.
At 11:56 AM 2001/7/5 +0800, Stas Bekman wrote:
On Thu, 5 Jul 2001, Bird Lei wrote:
How can I tell if a module is compiled and loaded into the memory properly
when the server starts?
Would it not be loaded even if I have put use My::ModuleName in the
startup.pl?
use the
Hi,
I am using
perl 5.00503
mod_perl 1.22
apache 1.3.12
aix 4.3.3
I have recompiled perl 5.00503 after applying patch for dl_aix.xs. Then I
compiled my mod_perl with the following command
perl Makefile.PL \
USE_APXS=1 \
WITH_APXS=/usr/HTTPServer/bin/apxs \
EVERYTHING=1
It compiled without
On Wed, Apr 25, 2001 at 11:34:53AM -0700, Mohammed Azam wrote:
perl 5.00503
mod_perl 1.22
apache 1.3.12
aix 4.3.3
That appears to be an unfortunate combination that does not work
properly. Get APache 1.3.19, perl 5.6.1 and the newest modperl from CVS
and the patch I did mention here a few
On Thu, 28 Sep 2000, Bill Moseley wrote:
Hi,
I'm seeing the opposite results from pre-loading modules in the parent
process than I would expect. It looks like pre-loading modules ends up
using more non-shared ("private") memory.
...
Here's the pre-loaded module list. When runn
At 12:04 AM 10/02/00 -0600, Scott Wilson wrote:
I've seen a similar result on an IRIX installation I'm working on.
Anyone have any ideas?
So did you decide NOT to pre-load modules?
Scott
Bill Moseley wrote:
Won't someone comment on this post? That's a chunk of memory!
At 11:46 AM
Won't someone comment on this post? That's a chunk of memory!
At 11:46 AM 09/28/00 -0700, Bill Moseley wrote:
snip
This is what pmap -x is showing:
Address Kbytes Resident Shared Private Permissions Mapped File
-- -- -- --
total Kb 19968 185282816
11 matches
Mail list logo