Created
February 20, 2015 20:36
-
-
Save jveldboom/87615b2a5d49ac04e2c3 to your computer and use it in GitHub Desktop.
Apache prefork
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$workers = 400; | |
//10000 | |
echo 'StartServers '.($workers * .3).PHP_EOL; | |
echo 'MinSpareServers '.($workers * .05).PHP_EOL; | |
echo 'MaxSpareServers '.($workers * .10).PHP_EOL; | |
echo 'ServerLimit '.($workers).PHP_EOL; | |
echo 'MaxRequestWorkers '.($workers).PHP_EOL; | |
echo 'MaxRequestsPerChild 10000'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment