diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-07-25 01:30:36 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-07-25 01:30:36 +0000 |
commit | c9f740abcc6c3d302cc21026254660d8b4f6b21f (patch) | |
tree | b89d06558e9fb9687c1a76d479585b125ca7b7ab /etc/inc/system.inc | |
parent | 746841b98e7d593c53d32ba52441a7dedd8934e1 (diff) | |
download | pfsense-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.inc | 6 |
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\""; |