TransWikia.com

Apache MPM_Prefork Setting for high performance

Server Fault Asked by Anthonyinit on November 16, 2021

My VPS has 16GB RAM / 6 Cores and it’s running on Debian 10 with Virtualmin installed. and my script needs mpm_php to work properly.

Getting high traffic so I need to adjust the default setting of the mpm_prefork settings. i read mpm_worker or events cannot work with mod_php.

Here is my current setting

<IfModule mpm_prefork_module>
    StartServers          60
    MinSpareServers       30
    MaxSpareServers       80
    Serverlimit           840
    MaxRequestWorkers     840
    MaxConnectionsPerChild  0
</IfModule>

Can someone tell if this setting is good for high traffic? or should I need to edit something?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP