summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2009-12-06 22:03:19 -0500
committerChris Buechler <cmb@pfsense.org>2009-12-06 22:03:19 -0500
commit9dc9718d81f26cfcc3d0679e1582abc9b2d476c1 (patch)
treebae5e60e04cd20b3c7cf5bb02463a61eb0e44345
parentf99cd0a7a3a14108901b4415d2b2888c787bb272 (diff)
downloadpfsense-9dc9718d81f26cfcc3d0679e1582abc9b2d476c1.zip
pfsense-9dc9718d81f26cfcc3d0679e1582abc9b2d476c1.tar.gz
don't enable idle_poll, causes 100% CPU on FreeBSD 7.2RELENG_1_2_3_RELEASE
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 38fccd5..c45def5 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1100,7 +1100,7 @@ function setup_polling() {
}
if(isset($config['system']['polling'])) {
mwexec("/sbin/ifconfig {$real_interface} polling");
- mwexec("/sbin/sysctl kern.polling.idle_poll=1");
+ mwexec("/sbin/sysctl kern.polling.idle_poll=0");
} else {
mwexec("/sbin/ifconfig {$real_interface} -polling");
}
@@ -3905,4 +3905,4 @@ function update_alias_names_upon_change($section, $subsection, $fielda, $fieldb,
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud