From owner-freebsd-stable@freebsd.org Thu Jul 30 06:11:41 2015 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 E4EE29ADD98 for ; Thu, 30 Jul 2015 06:11:41 +0000 (UTC) (envelope-from bc979@lafn.org) 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 CF43D75 for ; Thu, 30 Jul 2015 06:11:41 +0000 (UTC) (envelope-from bc979@lafn.org) Received: by mailman.ysv.freebsd.org (Postfix) id CE32D9ADD96; Thu, 30 Jul 2015 06:11:41 +0000 (UTC) Delivered-To: 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 CDC0A9ADD95 for ; Thu, 30 Jul 2015 06:11:41 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id ABD1C74 for ; Thu, 30 Jul 2015 06:11:41 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.2] (static-71-177-216-148.lsanca.fios.verizon.net [71.177.216.148]) (authenticated bits=0) by zoom.lafn.org (8.14.7/8.14.9) with ESMTP id t6U6Ab8v009157 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 29 Jul 2015 23:11:40 -0700 (PDT) (envelope-from bc979@lafn.org) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: Swap Usage From: Doug Hardie In-Reply-To: Date: Wed, 29 Jul 2015 23:11:40 -0700 Cc: FreeBSD Stable ML Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Doug Hardie X-Mailer: Apple Mail (2.2102) X-Virus-Scanned: clamav-milter 0.98 at zoom.lafn.org X-Virus-Status: Clean X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 06:11:42 -0000 > On 29 July 2015, at 17:41, Doug Hardie wrote: >=20 > I have several FreeBSD 9.3 systems that are using swap and I can=E2=80=99= t figure out what is doing it. The key system has 6GB swap and = currently it has over 2GB in use. ps shows only a kernel module [intr] = with a W status. Obviously that isn=E2=80=99t using the space. No = other process shows a W in its status. I suspect this is somewhat = related to the use of mmap in one application. However, all of the = mmaps in that application are file backed and thus shouldn=E2=80=99t use = swap. How do I figure out what that swap space is being used for? UFS although that shouldn=E2=80=99t matter. Swap does not use a file = system. If it did, it would be easy to figure out. Top doesn=E2=80=99t show much. =20=