I'm trying to spread my pre apache child memory load appropriately
and have a few questions.
Is Apache::SharedMem working with mod_perl2 the "same" way it did
with mod_perl1?
Is Apache::SharedMem the "preferred" way to handle sharing memory
between apache children?
Are modules loaded us
Am I looking for APR::Pool?
-bop
On Nov 7, 2007, at 12:41 PM, Boysenberry Payne wrote:
On Nov 7, 2007, at 11:59 AM, Michael Peters wrote:
Boysenberry Payne wrote:
Is Apache::SharedMem working with mod_perl2 the "same" way it did
with
mod_perl1?
Don't know, haven't used it. It hasn't
On Nov 7, 2007, at 11:59 AM, Michael Peters wrote:
Boysenberry Payne wrote:
Is Apache::SharedMem working with mod_perl2 the "same" way it did
with
mod_perl1?
Don't know, haven't used it. It hasn't been updated since 2001, so
either it's
perfect and hasn't needed any changes or it's not
Boysenberry Payne wrote:
> Is Apache::SharedMem working with mod_perl2 the "same" way it did with
> mod_perl1?
Don't know, haven't used it. It hasn't been updated since 2001, so either it's
perfect and hasn't needed any changes or it's not being maintained.
> Is Apache::SharedMem the "preferred"
Don't use Apache::SharedMem. It uses IPC::ShareLite, which is slow.
> Does memcached or Cache::FastMap work with apache's shared memory pool?
No, I don't think anyone has ever gotten that to work.
> In this situation if its possible (which it should be for my own
> modules) I would like
> the p
Other than for callbacks on destruction of memory pools what is
APR::Pool useful for?
-bop
On Nov 7, 2007, at 1:56 PM, Perrin Harkins wrote:
Don't use Apache::SharedMem. It uses IPC::ShareLite, which is slow.
Does memcached or Cache::FastMap work with apache's shared memory
pool?
No, I
On Nov 7, 2007 5:50 PM, Boysenberry Payne <[EMAIL PROTECTED]> wrote:
> If I created some of my static hashes and objects during the
> PerlPostConfigHandler phase
> and added them to either the configuration or log pools
You're missing the big picture. Adding perl objects to a shared
memory pool d
Boysenberry Payne wrote:
> If I created some of my static hashes and objects during the
> PerlPostConfigHandler phase
> and added them to either the configuration or log pools would that help
> me keep
> some of my memory shared, assuming I could get at either pool during the
> PerlResponseHandler?
If I created some of my static hashes and objects during the
PerlPostConfigHandler phase
and added them to either the configuration or log pools would that
help me keep
some of my memory shared, assuming I could get at either pool during
the PerlResponseHandler?
Am I confusing lifetime scop
On Nov 7, 2007, at 5:05 PM, Michael Peters wrote:
Boysenberry Payne wrote:
If I created some of my static hashes and objects during the
PerlPostConfigHandler phase
and added them to either the configuration or log pools would that
help
me keep
some of my memory shared, assuming I could get
On Nov 7, 2007, at 5:04 PM, Perrin Harkins wrote:
On Nov 7, 2007 5:50 PM, Boysenberry Payne
<[EMAIL PROTECTED]> wrote:
If I created some of my static hashes and objects during the
PerlPostConfigHandler phase
and added them to either the configuration or log pools
You're missing the big pict
AIL PROTECTED]>
To: "Boysenberry Payne" <[EMAIL PROTECTED]>
Cc: "modperl List"
Sent: Thursday, November 08, 2007 1:04 AM
Subject: Re: mod_perl2 and Apache::SharedMem
On Nov 7, 2007 5:50 PM, Boysenberry Payne <[EMAIL PROTECTED]>
wrote:
If I created
t;
Cc: "modperl List"
Sent: Thursday, November 08, 2007 1:04 AM
Subject: Re: mod_perl2 and Apache::SharedMem
On Nov 7, 2007 5:50 PM, Boysenberry Payne
<[EMAIL PROTECTED]> wrote:
If I created some of my static hashes and objects during the
PerlPostConfigHandler phase
and added t
Boysenberry Payne wrote:
>> But what if the module Module::Name "use" or "require" other modules?
>> Are they also loaded before the server forks, or I need to load them
>> with "PerlModule ..." in httpd.conf?
>
> Good question. I think it might depend on how the requires/uses are scoped
> in th
On Nov 8, 2007, at 1:07 PM, Octavian Rasnita wrote:
From: "Boysenberry Payne" <[EMAIL PROTECTED]>
What should I do if I want to load the classes after the server
forks?
There are many phases after the fork, the most commonly used is the
PerlResponseHandler phase
Do I understand correctly
From: "Boysenberry Payne" <[EMAIL PROTECTED]>
What should I do if I want to load the classes after the server forks?
There are many phases after the fork, the most commonly used is the
PerlResponseHandler phase
Do I understand correctly that even the modules specified in httpd.conf with
Perl
Octavian Rasnita wrote:
Hi,
Can you please tell me when the server forks?
http://perl.apache.org/docs/2.0/user/handlers/server.html
What should I do to load some classes before the server forks?
http://perl.apache.org/docs/2.0/user/handlers/server.html#Startup_File
> What should I do if I
17 matches
Mail list logo