mod_perl interpreter pool

John Dunlap <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAC5eUSssDJORU+QJuLMNoQoQVDZGGJFXV2cPAmvkeL_mXVuSWQ@mail.gmail.com>
The Prefork MPM has the following settings:
<IfModule mpm_prefork_module>
        StartServers                     5
        MinSpareServers           5
        MaxSpareServers          10
        MaxRequestWorkers         150
        MaxConnectionsPerChild   0
</IfModule>

I see these Apache directives but the documentation states that they only
apply to a threaded mod_perl/Apache which prefork definitely is not:
PerlInterpStart
PerlInterpMax
PerlInterpMinSpare
PerlInterpMaxSpare
PerlInterpMaxRequests

How does mod_perl allocate interpreters to the prefork worker processes? Is
there one perl interpreter for each of preform worker? Is there a pool of
perl interpreters which is smaller than the pool of prefork workers? Are
there settings for configuring the size of the perl interpreter pool? When
a request comes in, does the user have to wait for a perl interpreter
process to start or is there already one waiting for them?

-- 
John Dunlap
*CTO | Lariat *

*Direct:*
*[email protected] <[email protected]>*

*Customer Service:*
877.268.6667
[email protected]
100x60.png (image/png, 2.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.