[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Config Primer on mod_perl with mpm_event
From:       Joe Schaefer <joe () sunstarsys ! com>
Date:       2024-02-13 16:55:28
Message-ID: CAFQGv+ZzZ44_eo5rPNzORd4q0k6fZHNFxOv1AqXBdBcBXSYz1A () mail ! gmail ! com
[Download RAW message or body]

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>
<joe@sunstarsys.com>
954.253.3732 <//954.253.3732>

[Attachment #3 (text/html)]

<div dir="ltr">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:<div><br></div><div>1/ always set PerlInterpMaxSpare == \
PerlInterpMax.</div><div>2/ always set PerlInterpMaxRequests to be   at least 10x \
greater than your site&#39;s daily hit count.<br><div><div>3/ always disable the \
SetupEnv Option.</div><div><br></div><div>Yes, it&#39;s that simple.   Any other core \
dumps are due to non-ithread-safe 3rd party Perl modules.</div><div><br></div><span \
class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr">Joe Schaefer, Ph.D.<div></div><div><a \
href="https://sunstarsys.com/orion/features" target="_blank"><img \
src="https://ci3.googleusercontent.com/mail-sig/AIorK4znBF_TAme6pCiav9cgwbIEHDJwyXb2f2Ymw0uY-9ZKx45P_KcsYtcI8RGqtr3HBrV6fAW1Hn4"></a></div><div><a \
href="https://sunstarsys.com/orion/features" target="_blank">Orion - The Enterprise \
Jamstack Wiki</a><br></div><div><div><div>&lt;<a href="mailto:joe@sunstarsys.com" \
target="_blank">joe@sunstarsys.com</a>&gt;</div><div><a href="tel://954.253.3732" \
target="_blank">954.253.3732</a></div><div><br></div><div><br></div></div></div></div></div></div></div></div>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic