From owner-freebsd-stable@FreeBSD.ORG Tue Sep 30 17:56:50 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 3756C932; Tue, 30 Sep 2014 17:56:50 +0000 (UTC) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EFAB7115; Tue, 30 Sep 2014 17:56:49 +0000 (UTC) Received: by mail-ig0-f169.google.com with SMTP id uq10so1664223igb.0 for ; Tue, 30 Sep 2014 10:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pylc+P7PhGVMt3vcmOS4vticsWHUmVf9AN4jgwvsKqE=; b=btKM6BcSIpYeOupPHwlAE2kUx2RuQdtOi/RVjs7w6PAK+wVF2JybFKnPcI5sdNyid9 AEVNIcG/G1dxPxLTp+LDqadY6wVnVtAftz+1KzztyFSppiA22cUpTtaDOcpJ44t7smTR PFVn3bQIUcY7fYnBBwzlvy4Rol42sKzH1qs70zluTwMJ6Kr2Md7ZCCfHZYibAMHb4acs 3ii9brue/pzcVhBV14xjH3+dQG7VdoznWIu5aPgJO7FKnUlQBlbDKekBMRP9sa8QgEx0 wYGWFJ6zHOaWLi6bc/C/E6umYAYAJgnneSPqsKkCjpwcTnimAJR9pWgXlr8u/8aF7fTw +fww== MIME-Version: 1.0 X-Received: by 10.50.73.67 with SMTP id j3mr10976308igv.22.1412099809401; Tue, 30 Sep 2014 10:56:49 -0700 (PDT) Received: by 10.50.87.130 with HTTP; Tue, 30 Sep 2014 10:56:49 -0700 (PDT) In-Reply-To: <542AE376.6000003@FreeBSD.org> References: <542AAA3C.1080803@ipfw.ru> <542AE376.6000003@FreeBSD.org> Date: Tue, 30 Sep 2014 10:56:49 -0700 Message-ID: Subject: Re: 10.1-BETA2 possible kernel memory leak in routing table From: Rumen Telbizov To: "Alexander V. Chernikov" Content-Type: text/plain; charset=UTF-8 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 17:56:50 -0000 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 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 as sysctl hw.ix and sysctl dev.ix at http://pastebin.com/M5Stnfvt Thank you for your help. Regards, -- Rumen Telbizov Unix Systems Administrator