Date: Sun, 20 Feb 2011 23:50:28 +0100 From: Pawel Tyll <ptyll@nitronet.pl> To: Luigi Rizzo <rizzo@iet.unipi.it> Cc: Brandon Gooch <jamesbrandongooch@gmail.com>, freebsd-ipfw@freebsd.org, Jack Vogel <jfvogel@gmail.com>, freebsd-net@freebsd.org Subject: Re: problem analysys (Re: [Panic] Dummynet/IPFW related recurring crash.) Message-ID: <288793167.20110220235028@nitronet.pl> In-Reply-To: <20110220135855.GA4794@onelab2.iet.unipi.it> References: <410175608.20110220013900@nitronet.pl> <AANLkTimWkWYj=HB5BTM0nwYWgNia-Wq4bYHsRB=OjVP7@mail.gmail.com> <AANLkTi=CLDFGxLQ8rdq3hg0KN9aYZA_YDwDWbqk5gcz2@mail.gmail.com> <1145317277.20110220045434@nitronet.pl> <20110220135855.GA4794@onelab2.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
> The way a problem is presented has a big impact on how it gets handled: > in this specific case the poster is pointing out a possible culprit > (which may be helpful or misleading), and gives no hint on other > things that may be relevant: number of interfaces, vlans, tunnels, taps, > bpf etc ? any significant other activity on the machine such as interfaces > going up or down, routing deamons etc ? amount of traffic ? > Without furter details, I can only trust the statements in the report, > and this determines how i classify the bug and decide whether i have time > or ideas to pursue it. > The bug in this case seems to fall in the 'hard, irreproducible' category: > panics *always* need many many days to happen on machines under heavy loa= d, > no panics on similar machines under lighter load. > With a description like this, i am afraid, i can't even start looking > at the problem becaue i have no chance to reproduce it. This machine is only doing dummynet traffic shaping from significant things (otherwise it runs a dhcpd, ntpd and named). It's pretty straight-forward routing, packets come in, packets come out via static routes - there are currently no routing daemons involved. As to the interfaces, there are two physical ifaces, em0 and em1, only em1 is currently used. There are 49 vlan interfaces connected to em1, and they are pretty much static, no IP address changes, no interfaces going up or down, sometimes new one is being added, but there is no automation here, and panics do not coincide with anything significant in logs, or being done manually. Traffic oscillates between 20k pps at night and close to 35-40k pps daytime, slightly more on weekends. There are currently 2556 pipes defined and traffic shaping is done with two rules: 30000 pipe tablearg ip from table(100) to any in 30001 pipe tablearg ip from any to table(101) out Currently running FreeBSD 8.2-PRERELEASE #1: Fri Jan 7 17:19:28 CET 2011, but problem persists since 8.0-RELEASE net.inet.flowtable.enable=3D0 net.inet.ip.fw.one_pass=3D0 net.inet.tcp.blackhole=3D2 net.inet.udp.blackhole=3D1 net.inet.ip.random_id=3D1 net.inet.ip.forwarding=3D1 kern.ipc.maxsockbuf=3D8388608 net.inet.tcp.sendspace=3D4194304 net.inet.tcp.recvspace=3D4194304 net.inet.udp.recvspace=3D1048576 net.inet.udp.maxdgram=3D65536 net.inet.ip.fw.dyn_buckets=3D16384 net.inet.ip.fw.dyn_max=3D65536 hw.machine: amd64 hw.model: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz hw.ncpu: 8 hw.byteorder: 1234 hw.physmem: 4240433152 hw.usermem: 2734768128 Base Board Information Manufacturer: Intel Corporation Product Name: S3420GP em1: <Intel(R) PRO/1000 Network Connection 7.1.8> port 0x1000-0x101f mem 0x= b1900000-0xb191ffff,0xb1920000-0xb1923fff irq 16 at device 0.0 on pci2 em1: Using MSIX interrupts with 3 vectors If I missed anything here, then just tell me what more I can do, my intentions were never to make this harder to debug or hide anything relevant.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?288793167.20110220235028>