Commit d1842a56 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) set php workers to more sane defaults, more workers, less recycling.

I would rather kill the whole max_procs stuff, but that's for an other day....
parent 235169e2
......@@ -1061,7 +1061,7 @@ EOD;
if ($realmem < 78)
$max_php_children = 0;
else
$max_php_children = 1;
$max_php_children = 5;
if(!isset($config['syslog']['nologlighttpd'])) {
$lighty_use_syslog = <<<EOD
......@@ -1082,7 +1082,7 @@ fastcgi.server = ( ".php" =>
"max-procs" => {$max_procs},
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "{$max_php_children}",
"PHP_FCGI_MAX_REQUESTS" => "500"
"PHP_FCGI_MAX_REQUESTS" => "100"
),
"bin-path" => "/usr/local/bin/php-cgi"
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment