From owner-freebsd-stable@freebsd.org Wed Sep 13 15:56:59 2017 Return-Path: Delivered-To: freebsd-stable@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 219C8E0284B for ; Wed, 13 Sep 2017 15:56:59 +0000 (UTC) (envelope-from dnelson1@gmail.com) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B9956AF2B for ; Wed, 13 Sep 2017 15:56:58 +0000 (UTC) (envelope-from dnelson1@gmail.com) Received: by mail-lf0-x236.google.com with SMTP id 80so1777236lfy.4 for ; Wed, 13 Sep 2017 08:56:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc:content-transfer-encoding; bh=M9PRK6Y0V78I++3Kv3R8ZoWSIGWy0EDlk/jkGjtgBzU=; b=gtdVKadP2EuYrOf5Dvdd3eRU9ZuLKOXpCAr/yLGpHkmFY61mkAdk/xan08Yv3ZNDP2 6Ev1zwQajKmCRW6E+J15lilcA1C6Ei9pi4m/tiAP0d1y2lhED8GQ2lxXMSkzu2JtXI8t FK6rBlQACpbA7QgaKkIMc9Ah9jbHqjazf1nSbdoI4EgghoDB/KE/VUUOUob2ntbR1l35 QZBaK9aEpNlZvopHxPjeA7/eBzPOU970dJEp1MAdFIlLLIb2LqY03gPYSttaZwZUCAPi BbqbawGfLGpsTC+ujf98LuGfzAh7vdhX2kiDwkWK1BIrwD3Y7VbpU/HMJSkc8zGlwXC7 PXig== X-Gm-Message-State: AHPjjUjraUveCxrszJUsznOdGBA78XbkWTxXQ3D1RM6sPZW5pAGuS5od 8hA6q1ilU9SFP3h8mMhItNGl7FiE1VVjV8GYvlg= X-Google-Smtp-Source: AOwi7QBRcRGoJjCE6rKJ5ghi2vuCy4TFTUnf1oJSVdxGhd8KG51vpYPA7VboMRg5yKngKhXPyEKFnbSMgLAbQREclhc= X-Received: by 10.46.83.85 with SMTP id t21mr368992ljd.188.1505318216583; Wed, 13 Sep 2017 08:56:56 -0700 (PDT) MIME-Version: 1.0 Sender: dnelson1@gmail.com Received: by 10.25.37.209 with HTTP; Wed, 13 Sep 2017 08:56:55 -0700 (PDT) From: Dan Nelson Date: Wed, 13 Sep 2017 10:56:55 -0500 X-Google-Sender-Auth: 9EOf6XWrxGRFIRsbCSJQn10DVxU Message-ID: Subject: Re: Unusually high "Wired" memory To: Borja Marcos Cc: FreeBSD-STABLE Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2017 15:56:59 -0000 2017-09-12 1:27 GMT-05:00 Borja Marcos : > > > > On 11 Sep 2017, at 11:25, Borja Marcos wrote: > > > >> Since I=E2=80=99ve updated a machine to 11.1-STABLE I am seeing a rath= er unusual growth of Wired memory. > >> > >> Any hints on what might have changed from 11-RELEASE to 11.1-RELEASE a= nd 11.1-STABLE? > > vmstat -z and vmstat -m follow > > % vmstat -z > ITEM SIZE LIMIT USED FREE REQ FAIL SLEEP > [...] > g_bio: 376, 0,15235172, 248,477839025, 0, 0 > [...] I think this is the problem - you're leaking g_bio objects (5.7 GB currently allocated if you multiply SIZE*USED). I'm seeing the same thing and it looks like it started after the recent ZFS merges from -current. I have filed a bugreport with some more info ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222288 ).