From owner-freebsd-net@freebsd.org Wed Oct 12 03:52:52 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BCCAEC0B335 for ; Wed, 12 Oct 2016 03:52:52 +0000 (UTC) (envelope-from donaldbaud@yahoo.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9BB4E925 for ; Wed, 12 Oct 2016 03:52:52 +0000 (UTC) (envelope-from donaldbaud@yahoo.com) Received: by mailman.ysv.freebsd.org (Postfix) id 9B15DC0B333; Wed, 12 Oct 2016 03:52:52 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9AB96C0B332 for ; Wed, 12 Oct 2016 03:52:52 +0000 (UTC) (envelope-from donaldbaud@yahoo.com) Received: from nm6-vm3.bullet.mail.gq1.yahoo.com (nm6-vm3.bullet.mail.gq1.yahoo.com [98.136.218.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7498F922 for ; Wed, 12 Oct 2016 03:52:52 +0000 (UTC) (envelope-from donaldbaud@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1476244220; bh=o7N7dHMBJI4Q4XA+R6+yjKKR5hS1dUNf06m6um+KX0w=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject; b=olN0m4ww9CzhKlRFvHnrAG52rRDErj9TOuugbQWhDISHhoxu+Bm4YC4JpKEFsoTByNZAFuwhKM9o9X5Iy81bO0f60+lKz91i+Nam72N1Y2xjbcp6bHseX587REGmr58mMocI9KllP/7Tovj5Uo3Wf7RSq/FPkYrlOHD+6gVThZdGIYoOP2JvBjkKKldGmIsnLbR0ZvB7HntZTA5WQxAb4C6p2d0oXl0zyULSypCanFrze8S5pPbmX2tV0/DRxt6Votc9m7T+RpFBHli3B4D+V/WOR+pJPgWR6ak4PpTeprVHVnYSumLvWcb4kCLzxf0WviB0bsbNGBWOXezL+gGkZA== Received: from [216.39.60.180] by nm6.bullet.mail.gq1.yahoo.com with NNFMP; 12 Oct 2016 03:50:20 -0000 Received: from [208.71.42.193] by tm16.bullet.mail.gq1.yahoo.com with NNFMP; 12 Oct 2016 03:50:20 -0000 Received: from [127.0.0.1] by smtp204.mail.gq1.yahoo.com with NNFMP; 12 Oct 2016 03:50:20 -0000 X-Yahoo-Newman-Id: 288588.65595.bm@smtp204.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 8HwH1fwVM1nPlBoJ_T6ibqHubxzPycYvGnBoZiEZWdu.KPE vvc4sz0ym2uqVxe2bmQqSZoGtEd11TNmAbxBr3XCudBjzvY5mQlQH8zRMmiT b66GYu0rIC76SArNSLHTI033SF2cxvGBdg6ULkoZO2l07j7_C2I_Go.SR7cJ hGnp.d.CoNiv7_rC8jGicd8fbboVbrs.686kTjzrO2P5O_BJue.AN7wzpb9G o7JcJZiGNa6FB3kSTEfkydRGGr4amXZHabWbHrgV7O19IgP0U280h7voy.wC 6xgVrCBGluD4MesIW7S3VDbGAnwulAxSGCTvyyr23FOSxPg9FwPDFZBin0u6 1a4vI5yQAbAO_sYEfFxuyR0lOFZHNTAhDyCw5sfDgx0RJcvI4TAlcaweV8cU ooOV.E97o_Av1nNuxO5hFViKDRYWGqncllA5jgqjL5udxe62hd5y7MJ_K58. 38gIqFvaDYSeovxokpTUyMo0vZIsJ7qfk1lOeBptRN3jN8ZIQbCqVutiWGyo a5UmuRZjU2TUAQf5rFRvY74SGFDRWnsfnPbS4D8DvEM2uWfIfGzc8 X-Yahoo-SMTP: fRRiyyGswBB1GYfBhw8frTz_QYRdpxY- Date: Wed, 12 Oct 2016 03:50:19 +0000 (UTC) From: Donald Baud To: Message-ID: In-Reply-To: References: <57FC859F.5000200@grosbein.net> Subject: Re: FreeBSD10.3-RELEASE. Kernel panic. MIME-Version: 1.0 X-Mailer: Outlook for iOS and Android Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2016 03:52:52 -0000 I've been plagued with these =3Ddaily=3D panics until I tried the following= recipes and the server has been up for 30 days so far:=C2=A0 Normally I should expermient more to see which one of the recipes is really= the fix, but I'm just glad that the server is stable for now. recipe-1: Don't let mpd5 start automatically when server boots:i.e. in: /et= c/rc.conf=C2=A0mpd5_enable=3D"NO"and wait about 5 minutes after server boot= s then issue:=C2=A0/usr/local/etc/rc.d/mpd5 onestart recipe-2: recompile the kernel with the NETGRAPH_DEBUG option:options = NETGRAPH =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0options NETGRAPH_DEBUG =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0options NETGRAPH_KSOCKET=C2=A0= options NETGRAPH_L2TPoptions NETGRAPH_SOCKEToptions = NETGRAPH_TEEoptions NETGRAPH_VJCoptions NETGRAPH_PPPoption= s NETGRAPH_IFACEoptions NETGRAPH_MPPC_COMPRESSIONoptions = NETGRAPH_MPPC_ENCRYPTIONoptions NETGRAPH_TCPMSSoptions = IPFIREWALL recipe-3: recompile the kernel and disable the IPv6 and SCTP options:noopti= ons INET6nooptions SCTP recipe-4: Don't use any of the sysctl optimizations=C2=A0in other words I c= ommented out all values in sysctl.conf:# net.graph.maxdgram=3D20480 (this = is the default)# net.graph.recvspace=3D20480 (this is the default) recipe-5: Don't use any of the loader.conf optimizationsin other words I co= mmented out all values in loader.conf# net.graph.maxdata=3D4096 (this is t= he default)# net.graph.maxalloc=3D4096 (this is the default) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3DIn my case, I had the panics with 10.3 and 11-PRERELEA= SE11.0-PRERELEASE FreeBSD 11.0-PRERELEASE #2 r305587 With those recipes, I have been running without any crash for a month and c= ounting. That's 300 l2tp tunnels and 1400 l2tp sessions generating 700Mbit= /s. =09=09_____________________________ From: Cassiano Peixoto Sent: Tuesday, October 11, 2016 07:30 Subject: Re: FreeBSD10.3-RELEASE. Kernel panic. To: Eugene Grosbein Cc: , =D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9 =D0=9B=D0=B5= =D1=83=D1=88=D0=BA=D0=B8=D0=BD Hi, There are many users complaining about this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 I've been dealing with this issue for one year with no solution. mpd5 as pppoe server on FreeBSD is useless with this bug. I really would like to see it working again, i think it's quite important to both project and many users. Thanks. On Tue, Oct 11, 2016 at 3:24 AM, Eugene Grosbein wrote= : > 11.10.2016 11:02, =D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9 =D0=9B=D0=B5=D1=83= =D1=88=D0=BA=D0=B8=D0=BD =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >> Hello. I have problem with "FreeBSD nas 10.3-RELEASE FreeBSD 10.3-RELEAS= E >> #0: Fri Oct 7 21:12:56 YEKT 2016 nas@nas:/usr/obj/usr/src/sys/nasv3 >> amd64" >> >> Kernel panic is repeated at intervals of 2-3 days. At first I thought th= at >> the problem is in the hardware, but the problem did not go away after >> replacing the server platform. >> >> Coredumps and more info on link >> https://drive.google.com/open?id=3D0BxciMy2q7ZjTTkIxem9wTE1tM2M >> >> Sorry for my english. >> I'll wait for an answer. >> > > This is known and long-stanging problem in the FreeBSD network stack. > It shows up when you have lots of network interfaced created/removed > frequently > like in your case of Network Access Server (PPtP, PPPoE etc). > > Generally, people run into this problem using mpd5 network daemon. > mpd5 uses NETGRAPH kernel subsystem to process traffic and > if an interface disappears (f.e., ,user disconnected) > while kernel still processes traffic obtained from this interface, it > panices. > > There were lots of reports of this problem. Noone seems to be working on > it at the moment. > You should fill a PR using Bugzilla and attach your logs to it. > > Eugene Grosbein > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" =09 From owner-freebsd-net@freebsd.org Wed Oct 12 03:59:17 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F5BCC0B4E4 for ; Wed, 12 Oct 2016 03:59:17 +0000 (UTC) (envelope-from donaldbaud@yahoo.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0DEBCAE3 for ; Wed, 12 Oct 2016 03:59:17 +0000 (UTC) (envelope-from donaldbaud@yahoo.com) Received: by mailman.ysv.freebsd.org (Postfix) id 0A580C0B4E3; Wed, 12 Oct 2016 03:59:17 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09F51C0B4E2 for ; Wed, 12 Oct 2016 03:59:17 +0000 (UTC) (envelope-from donaldbaud@yahoo.com) Received: from nm41-vm5.bullet.mail.gq1.yahoo.com (nm41-vm5.bullet.mail.gq1.yahoo.com [67.195.87.92]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D7AEBAE2 for ; Wed, 12 Oct 2016 03:59:16 +0000 (UTC) (envelope-from donaldbaud@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1476244755; bh=WEmjCXG5f5cjTuDYYMDOc0/5gXZGZ89FhtjrVI/tOmU=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=th+G26hnT+6uZgkVew55GieOS/HR0IMvQq07TKTzgMZZGJhtTTrs3o38QrbBjMdii/qnPf3TAgTBGy9bpPx3Ju/rWYqoCnF1AB9crK5sofbyiPKnacvKCWptZcpXpLAVTD3/vUh+Ws3bvDfz/ymTkchq/XpgnptWsEZimlnj2pu1oI8lbH7w/RBx4IdWP5Fwp088qbEPpEL+1XtWRltWU6tfE8iU1Rjh+u0Ysw3ajJZyVqMiKaZztE9N7jzQkX28luPg3yLui93jgXePwxiM9fBLAAY4cWvSVwCkkpnoy5eVry0kEg/0b7QshttkdK5LhsfIqeVlzTWtWG/10BESpg== Received: from [127.0.0.1] by nm41.bullet.mail.gq1.yahoo.com with NNFMP; 12 Oct 2016 03:59:15 -0000 Received: from [98.137.12.62] by nm41.bullet.mail.gq1.yahoo.com with NNFMP; 12 Oct 2016 03:56:15 -0000 Received: from [98.139.170.180] by tm7.bullet.mail.gq1.yahoo.com with NNFMP; 12 Oct 2016 03:56:15 -0000 Received: from [98.139.212.240] by tm23.bullet.mail.bf1.yahoo.com with NNFMP; 12 Oct 2016 03:56:15 -0000 Received: from [127.0.0.1] by omp1049.mail.bf1.yahoo.com with NNFMP; 12 Oct 2016 03:56:15 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 391573.37393.bm@omp1049.mail.bf1.yahoo.com X-YMail-OSG: FpTv8n8VM1lv5tvjNpeNy7XU5bhaSbOTFoK2bUgtr0pN.hIaQdIIZwyWGsNWMKk ppJN8w5Kwwg38ji0qFplmkG6PrmQECD1joOc_6Hl1wtPM83KvNXeds9PZZFM742PS6i4il1ynT9Z WYMu5s_HiHaPXQFqmpJ7zwMuguYZkka2lA_rN2nkLQ.R3mC8UuFZf3AXDwzGFP7KEi1bb2oTOIlo _qMwzi24STFiAg6xNENgv.Fl8YdKhq9zxkvyQfwUY5JPVmMZtLTdcakm6GjQFGoAG0ZuQ1OTURI3 vLFVylccemBjXWMGmyRp9lT3QqCVlZ0Pa8PMqt81mTU1CGOfazfy1OKzybYBoXKzKNW9OCocqoWi zh2igyW2r0r8k.rrTJqLeKQj9ii4LVoifh9DXqQFB4o7jr_SY4f.i0T3qUjeBc4ck57PYRJNvBlT kL2R0BDS6HVVXiwuELTj10jYDk5CkrEF1ytnhcmlOta9iAmiCUh_15RZECKjf5F8hxWkJx4oYYJb M40uswtufZk1nCWGJw.V7N8FVJuczQk_pMeQZzwA- Received: from jws106182.mail.bf1.yahoo.com by sendmailws118.mail.bf1.yahoo.com; Wed, 12 Oct 2016 03:56:15 +0000; 1476244575.026 Date: Wed, 12 Oct 2016 03:56:08 +0000 (UTC) From: Reply-To: To: "net@freebsd.org" Message-ID: <2033449965.65391.1476244568309@mail.yahoo.com> In-Reply-To: References: <57FC859F.5000200@grosbein.net> Subject: Re: FreeBSD10.3-RELEASE. Kernel panic. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2016 03:59:17 -0000 I've been plagued with these =3Ddaily=3D panics until I tried the following= recipes and the server has been up for 30 days so far:=20 Normally I should expermient more to see which one of the receipes is reall= y the fix, but I'm just glad that the server is stable for now. recipe-1: Don't let mpd5 start automatically when server boots: i.e. in: /etc/rc.conf=20 mpd5_enable=3D"NO" and wait about 5 minutes after server boots then issue:=20 /usr/local/etc/rc.d/mpd5 onestart recipe-2: recompile the kernel with the NETGRAPH_DEBUG option: options NETGRAPH=20 options NETGRAPH_DEBUG=20 options NETGRAPH_KSOCKET=20 options NETGRAPH_L2TP options NETGRAPH_SOCKET options NETGRAPH_TEE options NETGRAPH_VJC options NETGRAPH_PPP options NETGRAPH_IFACE options NETGRAPH_MPPC_COMPRESSION options NETGRAPH_MPPC_ENCRYPTION options NETGRAPH_TCPMSS options IPFIREWALL recipe-3: recompile the kernel and disable the IPv6 and SCTP options: nooptions INET6 nooptions SCTP recipe-4: Don't use any of the sysctl optimizations=20 in other words I commented out all values in sysctl.conf: # net.graph.maxdgram=3D20480 (this is the default) # net.graph.recvspace=3D20480 (this is the default) recipe-5: Don't use any of the loader.conf optimizations in other words I commented out all values in loader.conf # net.graph.maxdata=3D4096 (this is the default) # net.graph.maxalloc=3D4096 (this is the default) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D In my case, I had the panics with 10.3 and 11-PRERELEASE 11.0-PRERELEASE FreeBSD 11.0-PRERELEASE #2 r305587 With those recipes, I have been running without any crash for a month and c= ounting. Thats' 300 l2tp tunnels and 1400 l2tp sessions generating 700Mbit= /s. -DBaud=20 On Tuesday, October 11, 2016 7:30 AM, Cassiano Peixoto wrote: Hi, There are many users complaining about this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 I've been dealing with this issue for one year with no solution. mpd5 as pppoe server on FreeBSD is useless with this bug. I really would like to see it working again, i think it's quite important to both project and many users. Thanks. On Tue, Oct 11, 2016 at 3:24 AM, Eugene Grosbein wrote= : > 11.10.2016 11:02, =D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9 =D0=9B=D0=B5=D1=83= =D1=88=D0=BA=D0=B8=D0=BD =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >> Hello. I have problem with "FreeBSD nas 10.3-RELEASE FreeBSD 10.3-RELEAS= E >> #0: Fri Oct 7 21:12:56 YEKT 2016 nas@nas:/usr/obj/usr/src/sys/nasv3 >> amd64" >> >> Kernel panic is repeated at intervals of 2-3 days. At first I thought th= at >> the problem is in the hardware, but the problem did not go away after >> replacing the server platform. >> >> Coredumps and more info on link >> https://drive.google.com/open?id=3D0BxciMy2q7ZjTTkIxem9wTE1tM2M >> >> Sorry for my english. >> I'll wait for an answer. >> > > This is known and long-stanging problem in the FreeBSD network stack. > It shows up when you have lots of network interfaced created/removed > frequently > like in your case of Network Access Server (PPtP, PPPoE etc). > > Generally, people run into this problem using mpd5 network daemon. > mpd5 uses NETGRAPH kernel subsystem to process traffic and > if an interface disappears (f.e., ,user disconnected) > while kernel still processes traffic obtained from this interface, it > panices. > > There were lots of reports of this problem. Noone seems to be working on > it at the moment. > You should fill a PR using Bugzilla and attach your logs to it. > > Eugene Grosbein > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"