From 9dc9718d81f26cfcc3d0679e1582abc9b2d476c1 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Sun, 6 Dec 2009 22:03:19 -0500 Subject: don't enable idle_poll, causes 100% CPU on FreeBSD 7.2 --- etc/inc/pfsense-utils.inc | 4 ++-- 1 file 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 +?> -- cgit v1.1