From owner-freebsd-stable@FreeBSD.ORG Tue Sep 30 18:49:04 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E50EDBEB for ; Tue, 30 Sep 2014 18:49:03 +0000 (UTC) Received: from mail.ipfw.ru (mail.ipfw.ru [IPv6:2a01:4f8:120:6141::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7516A908 for ; Tue, 30 Sep 2014 18:49:03 +0000 (UTC) Received: from [2a02:6b8:0:401:222:4dff:fe50:cd2f] (helo=ptichko.yndx.net) by mail.ipfw.ru with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82 (FreeBSD)) (envelope-from ) id 1XYyUg-0007Ge-PR; Tue, 30 Sep 2014 18:33:34 +0400 Message-ID: <542AFAE3.9030705@FreeBSD.org> Date: Tue, 30 Sep 2014 22:48:03 +0400 From: "Alexander V. Chernikov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: Rumen Telbizov Subject: Re: 10.1-BETA2 possible kernel memory leak in routing table References: <542AAA3C.1080803@ipfw.ru> <542AE376.6000003@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 18:49:04 -0000 On 30.09.2014 21:56, Rumen Telbizov wrote: > Hi Alexander, > > Sorry. That meant to be "route -Arn". > It would be even better if you show something like > "route -Arn ; sleep 10; route -Arn" > > > OK I would assume you really meant netstat ;) I apologize for not > pasting the entire routing table (security considerations). If you're > only after the size of it - like I said it's pretty static and doesn't > change very often. Is there anything specific that you're after?: > > netstat -rna | wc -l ; sleep 10; netstat -rna | wc -l > 145 > 145 Well, I was going to run vimdiff on old / new output but it looks like it is not necessary. Can you do some dtrace profiling? e.g. do " kldload dtraceall cat > xx.d < > If you do need something specific from it I'll spend some time to > anonymize it later. > > Ok. Are there any (relevant) messages floating inside route socket? > e.g does "route -n monitor" shows a lot of output? > > > time route -n monitor > > real 13m15.960s > user 0m0.000s > sys 0m0.002s > > No output. No changes whatsoever! dmesg doesn't report anything either. > > Very strange. Do you have "normal" ipv4/ipv6 traffic? (e.g. not > tunneled, not ipsec, not all-fragmented, etc?) > ixgbe marks all packets by received queue id number, and queue 0 > is always selected for "corner case" traffic. > I see more or less equal traffic distribution in you original > post, so this looks very strange for me. > > > > Most of it should be pretty standard. Very few fragments and some > ipsec (not terminated on the firewall). Again without this option - > nothing goes over ix1 for some reason. > > Can you show "sysctl dev.ix" output? (and any ixgbe tunables set > if any)? > > > I do have 3 settings that I changed via loader.conf as reported in the > original email. Please find the full output of loader.conf, > sysctl.conf as well assysctl hw.ix and sysctl dev.ix at > http://pastebin.com/M5Stnfvt > > > Thank you for your help. > > Regards, > -- > Rumen Telbizov > Unix Systems Administrator