Date: Wed, 18 Feb 2009 15:45:41 +0300 From: Sergey Pronin <sepron@gmail.com> To: freebsd-net@freebsd.org Subject: Re: Synopsis: process swi1:net gives 100% CPU usage. Message-ID: <d8fae2e40902180445n111a8d37pa46b496aff40c5a0@mail.gmail.com> In-Reply-To: <000f01c990e0$a70c1230$f5243690$@net> References: <d8fae2e40902121106l4286af32m90bdf6a3cd7d1cf3@mail.gmail.com> <000f01c990e0$a70c1230$f5243690$@net>
next in thread | previous in thread | raw e-mail | index | archive | help
Good day. As I'm using mpd4 I have mpd.conf and mpd.links. There are lots of static ngs created. So I'll post just a pattern of my mpd.conf: pppoe_def: set bundle disable multilink set bundle disable round-robin set bundle enable noretry set ipcp dns X.X.X.X Y.Y.Y.Y set iface disable on-demand set iface disable proxy-arp set iface enable tcpmssfix set link keep-alive 3 12 # set link mtu 1300 # set link mru 1460 set link max-redial -1 set pppoe service "*" set pppoe enable incoming set link enable chap set link enable chap-md5 set link enable chap-msv1 set link enable chap-msv2 set link disable passive callback no-orig-auth check-magic log -chat -bund -fsm -pptp set iface up-script "/root/scripts/up-script.pl" set iface down-script "/root/scripts/down-script.pl" set ipcp disable vjcomp set auth disable internal set auth enable radius-auth set radius server Z.Z.Z.Z password 1812 1813 set radius timeout 10 set radius retries 3 #ngctl types There are 27 total types: Type name Number of living nodes --------- ---------------------- pppoe 144 socket 2222 iface 2077 hole 0 gif_demux 0 gif 0 frame_relay 0 ether 560 echo 0 cisco 0 vjc 3 tty 0 tee 0 tcpmss 233 bridge 0 rfc1490 0 pptpgre 0 bpf 0 ppp 2076 one2many 0 async 0 mppc 0 lmi 0 UI 0 l2tp 0 ksocket 0 ip_input 0 I've tried to compile the kernel with and without netgraph options. I haven't seen any benefit. swi1:net still uses 100% CPU. I have the same problem with netgraph on 7.1-RELEASE, mpd 5.2, AMD Phenom. > Dummynet, divert and pf > are disabled in the kernel. > > While swi1:net (aka netgraph) is using 100% of CPU time m_tag_locate() and > ng_iface_output() > are constantly called from the infinite loop. > > Sergey, could you provide the content of mpd.conf and the output of "ngctl > types". >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d8fae2e40902180445n111a8d37pa46b496aff40c5a0>