Looking for Apache Global Configuration and PHP-FPM Pool Options Suggestions
The most ideal Apache Global Configuration and What should be the PHP-FPM Pool Options?
Only one website is hosted on the Dedicated server. A very high website traffic. The average number of page views per day is 250,000.
1. Apache Server MPM: How should the best configuration of prefork Global Configuration be?
2. In the PHP-FPM Pool Options; What should be the values of
Max Children?
Process Idle Timeout? and
Max Requests?
Frequent error message from server:
User:.... PID:19316 PPID:2073 Run Time:81(secs) Memory:674236(kb) RSS:46036(kb) exe:/opt/cpanel/ea-php70/root/usr/sbin/php-fpm cmd:php-fpm: pool ...
-------------
Dedicated Server Features:
Dell R220
4x 3.50 GHz Intel" Xeon" E3-1241 v3 (1 Soket)
16 GB RAM
2 x 600 GB SAS
Total processors: 8
------
The latest Settings are:
Apache Server MPM: prefork
Global Configuration
The following settings have been saved:
keepalive: On
keepalivetimeout: 5
serverlimit: 5000
maxclients: 5000
maxrequestsperchild: 2500
maxkeepaliverequests: 150
startservers: 25
minspareservers: 25
maxspareservers: 50
timeout: 150
----
PHP-FPM Pool Options:
System PHP-FPM Status: On
Max Children: 150
Process Idle Timeout: 10
Max Requests: 5000
Please sign in to leave a comment.
Comments
0 comments