ntop-3.1

ntop-3.1にしたところ、CPU loadがほとんど100%になってしまうことが判明。おかげで暑くてしょうがない。起動オプションとmanをみたら、

  –pcap_setnonblock
  On some platforms, the ntop web server will hang or appear to
hang (it actually just responds incredibly slowly to the first request
from a browser session), while the rest of ntop runs just fine. This is
known to be an issue under FreeBSD 4.x.
  This option sets the non-blocking option (assuming it’s 
available  in the version of libpcap that is installed).
  While  this  works  around  the 
problem (by turing an interupt driven process into a poll), it also MAY
signifcantly increases the cpu usage of  ntop.  
Although  it  does not actually interfere with other work, seeing ntop use 80-90% or more of the cpu is not uncommon – don’t  say we didn’t warn you.

だそうな。というわけで、起動スクリプトから –pcap_setnonblockを削除したらおとなしくなった。これで安心。

カテゴリー: FreeBSD, Install パーマリンク

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です