Date: Wed, 12 Oct 2016 03:50:19 +0000 (UTC) From: Donald Baud <donaldbaud@yahoo.com> To: <net@freebsd.org> Subject: Re: FreeBSD10.3-RELEASE. Kernel panic. Message-ID: <BB5B617E05F25426.BD3D656C-A093-4CED-A8ED-57981A9449C7@mail.outlook.com> In-Reply-To: <CAJajdNUXOrzWDKVmSB1Xm_G6zqBhMsZ2vesDcAw2CPGFBU0xtg@mail.gmail.com> References: <CAAFYNruF4gFAiTCAhyRUQzcovW2osrKn4ehiuNR0btJCZbnOGg@mail.gmail.com> <57FC859F.5000200@grosbein.net> <CAJajdNUXOrzWDKVmSB1Xm_G6zqBhMsZ2vesDcAw2CPGFBU0xtg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <peixotocassiano@gmail.com> Sent: Tuesday, October 11, 2016 07:30 Subject: Re: FreeBSD10.3-RELEASE. Kernel panic. To: Eugene Grosbein <eugen@grosbein.net> Cc: <net@freebsd.org>, =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 <laa88rf@gmail.com> 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 <eugen@grosbein.net> 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: <owner-freebsd-net@freebsd.org> 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 <freebsd-net@mailman.ysv.freebsd.org>; 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 <freebsd-net@freebsd.org>; 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 <net@mailman.ysv.freebsd.org>; 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 <net@freebsd.org>; 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: <donaldbaud@yahoo.com> Reply-To: <donaldbaud@yahoo.com> To: "net@freebsd.org" <net@freebsd.org> Message-ID: <2033449965.65391.1476244568309@mail.yahoo.com> In-Reply-To: <CAJajdNUXOrzWDKVmSB1Xm_G6zqBhMsZ2vesDcAw2CPGFBU0xtg@mail.gmail.com> References: <CAAFYNruF4gFAiTCAhyRUQzcovW2osrKn4ehiuNR0btJCZbnOGg@mail.gmail.com> <57FC859F.5000200@grosbein.net> <CAJajdNUXOrzWDKVmSB1Xm_G6zqBhMsZ2vesDcAw2CPGFBU0xtg@mail.gmail.com> 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 <freebsd-net.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net/> List-Post: <mailto:freebsd-net@freebsd.org> List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=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 <peixotocassiano@gma= il.com> 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 <eugen@grosbein.net> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BB5B617E05F25426.BD3D656C-A093-4CED-A8ED-57981A9449C7>