Config Primer on mod_perl with mpm_event
Joe Schaefer <[email protected]> Tue, 13 Feb 2024 11:55:28 -0500
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <CAFQGv+ZzZ44_eo5rPNzORd4q0k6fZHNFxOv1AqXBdBcBXSYz1A@mail.gmail.com> |
Quick reminders on how to get mod_perl working with mpm_event. The primary objective is to never allow mod_perl to garbage collect *any* of your interpreters during ithread-pool management. Two key components of that are: 1/ always set PerlInterpMaxSpare == PerlInterpMax. 2/ always set PerlInterpMaxRequests to be at least 10x greater than your site's daily hit count. 3/ always disable the SetupEnv Option. Yes, it's that simple. Any other core dumps are due to non-ithread-safe 3rd party Perl modules. -- Joe Schaefer, Ph.D. <https://sunstarsys.com/orion/features> Orion - The Enterprise Jamstack Wiki <https://sunstarsys.com/orion/features> <[email protected]> 954.253.3732 <//954.253.3732>