don't enable idle_poll, causes 100% CPU on FreeBSD 7.2

This commit is contained in:
Chris Buechler 2009-12-06 22:03:19 -05:00
parent f99cd0a7a3
commit 9dc9718d81
1 changed files with 2 additions and 2 deletions

View File

@ -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,
}
?>
?>