From owner-freebsd-stable@freebsd.org Sat Feb 3 21:18:53 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 172B0EED895 for ; Sat, 3 Feb 2018 21:18:53 +0000 (UTC) (envelope-from allbery.b@gmail.com) Received: from mail-qt0-x234.google.com (mail-qt0-x234.google.com [IPv6:2607:f8b0:400d:c0d::234]) (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 A4F927B92F for ; Sat, 3 Feb 2018 21:18:52 +0000 (UTC) (envelope-from allbery.b@gmail.com) Received: by mail-qt0-x234.google.com with SMTP id c2so35209919qtn.9 for ; Sat, 03 Feb 2018 13:18:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=kUeMN3bwduJF30x6mfOJ3bXTj0Ywu/Wh1VX241BKxuo=; b=Bc1ptP5xUX6yVSp12519PSuTkg4Vtd6mf/JCgqYs37eqB2GNvuS5jJ8Smgaad1WU23 Xempj+JFvpD3kKhnFHRJStdtJzgqt4Czre+oMGDl0+TInTY2d6WLdg51DgLqFG4y0A0j SutIgq1G6jmvASDuQfQs6YXbln6YcNpuVHlxrD5CPoIfEwIzDn3xoHI3PUGKg3f59a3T s+sQmhmaMNwnSceieGhsxLW9VR9A5cNqqi6axbgXQ6CKAiqmBlHhAm5gA0R2Z14rBo2N DHYRjUbi8cJaJZz03rypd18uDaZw/Bnjoo2aUZuMQUUbrJBdww+znC8sSS+d9Qol5qNe 7qXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=kUeMN3bwduJF30x6mfOJ3bXTj0Ywu/Wh1VX241BKxuo=; b=kjIYul5ick6HZJ9kaMNZ92bd3QMXdvNlwRVU6BUMCIn3r2kxTeteAkTnqA1CbEe40y rOjMaWo5YupP5z9e7Jw9p3jJhGapT0fN3wb53v5nG/fvNUe7QW2ydKxWiqfGkoLqd88j 8tsUrDpr/PrHhJnv9Z88UE/+Dbv9X2WP+qdLa/UnecP4RPS08S/L9AHnfwv83rSGPK8d pkoo1NsjpQl+SbVxiLzXIiwuEDOXGS/g/CqtU3HtcCmLdfypUjRd6gOdXZPi41GTx6aq 7UHEzNoYgHjPJjPyF4JKFNO9qixopzrwvUSViQAG/LE/PMHkqKhjJQ64QntZluLH1xVJ lG1w== X-Gm-Message-State: AKwxytfagrOJft0HGDqM/JK8/VgEmHxcuAmQXmdhXQDPDSj+nBdfqKEC MfLfiSmcPB8sJAo1W0uoT2BOBHor9rsJs5x5Qe8= X-Google-Smtp-Source: AH8x225R9tWG4UkT7V6EkZoVzrl3uMA7qaaEIFEYqPRm799Ab/3HVpuzek4BN5SUByvLhZYz4wWce8A5/gRAzZzqcMk= X-Received: by 10.200.59.65 with SMTP id r1mr26785817qtf.18.1517692732201; Sat, 03 Feb 2018 13:18:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.36.185 with HTTP; Sat, 3 Feb 2018 13:18:51 -0800 (PST) In-Reply-To: References: From: Brandon Allbery Date: Sat, 3 Feb 2018 16:18:51 -0500 Message-ID: Subject: Re: 50 percent swap used, but "ps auxww" output shows no processes swapped out To: Michael Voorhis Cc: freebsd-stable Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2018 21:18:53 -0000 Swapping whole processes out is not really a thing any more. Individual pages are paged to/from memory; if a memory page has no backing file, it will be allocated a block in swap space as its backing storage. (I'm not sure "W" status even means swap; I thought whole-process swapping wasn't even supported any more.) On Sat, Feb 3, 2018 at 4:14 PM, Michael Voorhis wrote: > Hi all, > > I've got an amd64 system running 11.1-STABLE r325027, with something > like 20G of swap. "swapinfo" shows that half the swap is used. > > So of course I'm curious to know which processes have been swapped > out. I'm not using any "tmpfs" filesystems; no ZFS, no huge amounts of > wired-down memory. The system's got 16 processors and 128G of RAM. "ps > auxww" output shows *no* processes that are swapped out (2nd character > in "STAT" field is "W"). Not a single one. The only process with a W in > the stat field at all is the "[intr]" kernel thread. > > What is using the swapspace? > > Please educate me. > > Thanks, > > --MCV. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net