perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Dunlap <J...@lariat.co>
Subject mod_perl interpreter pool
Date Fri, 22 Feb 2019 22:15:41 GMT
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:*
*john@lariat.co <john@lariat.co>*

*Customer Service:*
877.268.6667
support@lariat.co

Mime
View raw message