summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-07-25 01:30:36 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-07-25 01:30:36 +0000
commitc9f740abcc6c3d302cc21026254660d8b4f6b21f (patch)
treeb89d06558e9fb9687c1a76d479585b125ca7b7ab /etc/inc/system.inc
parent746841b98e7d593c53d32ba52441a7dedd8934e1 (diff)
downloadpfsense-c9f740abcc6c3d302cc21026254660d8b4f6b21f.zip
pfsense-c9f740abcc6c3d302cc21026254660d8b4f6b21f.tar.gz
Turn off fast cgi on machines with less than 65 megs of ram. We told you it would be slow!
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 8e8d3dc..54f3f71 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -606,10 +606,10 @@ function system_generate_lighty_config($filename,
$max_procs = 1;
$max_requests = 1;
}
-
- if($avail > 0 and $avail < 45) {
+
+ /* we told you that 64 megs would be slow */
+ if ($avail > 0 and $avail < 65)
$fast_cgi_enable = false;
- }
if($fast_cgi_enable == true) {
$module = "\"mod_fastcgi\", \"mod_cgi\"";
OpenPOWER on IntegriCloud