Pavel Hlavnicka wrote:
Is it possible, that some new interpreter is cloned later then the pool is created

"PerlInterpMax


If all running interpreters are in use, mod_perl will clone new interpreters to handle the request, up until this number of interpreters is reached. when PerlInterpMax is reached, mod_perl will block (via COND_WAIT()) until one becomes available (signaled via COND_SIGNAL())."

From http://perl.apache.org/docs/2.0/user/config/config.html#Threads_Mode_Specific_Directives

and is it possible, that ANY interpreter cloning will clone my global data? (I really mean e.g object stored in my handler in global variables, perhaps just lexical ones)

All of your data is always cloned, just as it was when apache forked in mod_perl 1.x. Remember, Perl threads share nothing unless you tell them to.


Is there something specific that you're worried about?

- Perrin

Reply via email to