Perrin Harkins wrote:
[EMAIL PROTECTED] wrote:

Is it within the scope of mod_perl2 to duplicate its interpreter pool
framework?

Intention:

To have separate interpreter pools for directories /test1 and /test2


Read http://perl.apache.org/docs/2.0/user/config/config.html

It looks like you would just need to do this:

<Location /test1>
  PerlOptions     +Clone
  PerlInterpStart 2
  PerlInterpMax   2
</Location>

<Location /test2>
  PerlOptions     +Clone
  PerlInterpStart 2
  PerlInterpMax   2
</Location>

You would have to run threads of course, e.g. the "worker" MPM. I run in pre-fork MPM, so I haven't really played with these options yet.

It works with prefork MPM too as long as perl has ithreads enabled, it's exercised in the test suite.



-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to