• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

mpm_event configuration

moswak

Regular Pleskian
Hi,

on Centos 7 Plesk 12.5 mpm_event is enabled by default.

Why is there no configurationfile in /etc/httpd/conf.d
for prefork there is a mpm_prefork.conf

what are the default values ?

Has anybody an expample default conf ?

Or is switch to mpm_prefork better ?
 
Event should be the best mpm - it can handle more connections than the
other mpms (separate thread for keepalive connections etc.) and has some
other advantages over the other mpms like smaller memory footprint etc.

For example one of my configurations.

Location: /etc/httpd/conf.modules.d/99-my-mpm.conf

Code:
<IfModule mpm_event_module>
    KeepAlive On
    KeepAliveTimeout 5
    MaxKeepAliveRequests 128

    ServerLimit 10
    StartServers 4
    ThreadLimit 128
    ThreadsPerChild 128
    MinSpareThreads 256
    MaxSpareThreads 512
    MaxRequestWorkers 1280
    MaxConnectionsPerChild 2048
</IfModule>

You'll have to adjust the values to your needs and available resources.

Further information here.
 
Back
Top