summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-03 14:23:50 +0000
committerErmal <eri@pfsense.org>2013-01-03 14:24:19 +0000
commiteef77bfe0df4af723edbd2d283a50e2151269ad2 (patch)
treea700218c3f7a7bdfb56d041c2906067cb1c9b0c2
parente83eaf36a1640beef08a109bb8db3df8a15a0e3e (diff)
downloadpfsense-eef77bfe0df4af723edbd2d283a50e2151269ad2.zip
pfsense-eef77bfe0df4af723edbd2d283a50e2151269ad2.tar.gz
Always make sure php has its own process manager to make lighty happy
-rw-r--r--etc/inc/system.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 9f766b7..e7b05bb 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -792,8 +792,8 @@ function system_generate_lighty_config($filename,
if ($avail > 0 and $avail < 128) {
$bin_environment = <<<EOC
"bin-environment" => (
- "PHP_FCGI_CHILDREN" => "0",
- "PHP_FCGI_MAX_REQUESTS" => "2",
+ "PHP_FCGI_CHILDREN" => "1",
+ "PHP_FCGI_MAX_REQUESTS" => "500",
),
EOC;
OpenPOWER on IntegriCloud