summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-26 03:43:58 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-26 03:43:58 +0000
commit6528c2b779cb68bfdd2276796544d184572c8f7b (patch)
treefac6c867e41a5fbb5822fe6ef85f3115be5e44ec /etc/inc
parent21002f0bfc64ad0787857f3895518cacedb43f90 (diff)
downloadpfsense-6528c2b779cb68bfdd2276796544d184572c8f7b.zip
pfsense-6528c2b779cb68bfdd2276796544d184572c8f7b.tar.gz
We no longer run fast cgi on 64 meg machines, dont worry about shutting down.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/pfsense-utils.inc30
1 files changed, 0 insertions, 30 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 02b9f46..917742d 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1355,21 +1355,6 @@ function reload_interfaces_sync() {
touch("{$g['tmp_path']}/reloading_all");
- $memory = get_memory();
- $avail = $memory[0];
- /* we have way too little memory. shutdown webConfigurator temporarily */
- if($avail > 0 and $avail < 66) {
- log_error("Not enough ram for reload. Temporarily unloading webConfigurator.");
- $shutdown_webgui_needed = true;
- config_lock();
- /* kill any running lighttpd */
- killbypid("{$g['varrun_path']}/lighty-webConfigurator.pid");
- sleep(2);
- /* we really need you to exit, lighttpd */
- system("killall -9 lighttpd");
- config_unlock();
- }
-
if($debug)
log_error("reload_interfaces_sync() is starting.");
@@ -1608,21 +1593,6 @@ function reload_all_sync() {
touch("{$g['tmp_path']}/reloading_all");
$shutdown_webgui_needed = false;
-
- $memory = get_memory();
- $avail = $memory[0];
- /* we have way too little memory. shutdown webConfigurator temporarily */
- if($avail > 0 and $avail < 66) {
- log_error("Not enough ram for reload. Temporarily unloading webConfigurator.");
- $shutdown_webgui_needed = true;
- config_lock();
- /* kill any running lighttpd */
- killbypid("{$g['varrun_path']}/lighty-webConfigurator.pid");
- sleep(2);
- /* we really need you to exit, lighttpd */
- system("killall -9 lighttpd");
- config_unlock();
- }
if(file_exists("{$g['tmp_path']}/config.cache"))
unlink("{$g['tmp_path']}/config.cache");
OpenPOWER on IntegriCloud