don't enable idle_poll, causes 100% CPU on FreeBSD 7.2
This commit is contained in:
parent
f99cd0a7a3
commit
9dc9718d81
|
@ -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,
|
|||
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Reference in New Issue