From owner-freebsd-stable@freebsd.org Thu Jun 25 01:51:07 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CA9853492E6 for ; Thu, 25 Jun 2020 01:51:07 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49sjfM3YRQz4LnV; Thu, 25 Jun 2020 01:51:07 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: by mail-lj1-x243.google.com with SMTP id x18so4730857lji.1; Wed, 24 Jun 2020 18:51:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=7UH9abthNsFFkI/ncONRTJ1qoL+Lqdm2cMmieopDgoo=; b=dhvqg2bbOlD5kmdEY+/8Q0vreAoMCZnOeSOdUl1bRSiAgwMj8ExA84YWihKnOTZeaV Ol/PJpGIiIDwlvw2B2+AhaiB6qr0aZevYpGNd3nafRT+v2IFD9z64uVLTLWby8ukEAfW aKQA6EerJYCf0bqNbu9kD/yrLkxVsCv+cqDkV6H3ptWEL6QKdJ7S9E/qKX2ei6StIy0Q d6KP/uHHV4QXZN10QN2jVmqvTyy4DNZ541S8f9GV3Jee/Whv0OPp5jkmpGjeWQnzf4MD 0IRltmWYEOuXJMif06PlYVzFI6B8ILrDuyb98a48dvExdNsJ7lULhRJWBtgySrWmzXpL c8jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=7UH9abthNsFFkI/ncONRTJ1qoL+Lqdm2cMmieopDgoo=; b=PiRSyh+QOJrwgDtovf7bhT3YeGzyt3hg3rKzj4OmFhGpfOXrWX00aIFGFui7haU/wR zJTNZ+s4nCvumutP0d631L4fiQFZyDf1V2HOuYrX1jgExzJ4UiEUiA3IZwH0+WADFV5c ycmXNVeMFvJAXzVjYDeCVU8fICQEYPbDEowbuC2zA5mEw5mUBKVn+aBZzTKZnCAlXvau pQA+yQ8t+r9WnlhQPoSTo+Xa1C2e8Bn6ty/0yCUPCkH5xG+4LIuzzgfD3NFD4D4+hueO b1irYQdN5b9gqnp2R80qmKOMUd8Js4aIB+xzv9yv4i/1HxM9NiWNZk6OO4zSPczl/LoI trFQ== X-Gm-Message-State: AOAM533ll3ddN3NAl92Lvm3lO0VFd6/iFU2ldAFC/FPBBWUZoI2B1GGB JFk/JnI9cdo1gsSrvU3a0AeamS3BJEx814+WwhyKcGOQ X-Google-Smtp-Source: ABdhPJw18YfM4pgcQMly0R1Uc2pQOB6IUmu4h+4IeUIsYpF9VLugqcDveTu2VX5/QCaM76qekkYSt6oq2tCsLYjOlt4= X-Received: by 2002:a2e:90c6:: with SMTP id o6mr3125132ljg.330.1593049865337; Wed, 24 Jun 2020 18:51:05 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab3:4703:0:0:0:0:0 with HTTP; Wed, 24 Jun 2020 18:51:04 -0700 (PDT) Reply-To: dwilde1@gmail.com In-Reply-To: <20200625000410.GA10210@eureka.lemis.com> References: <20200625000410.GA10210@eureka.lemis.com> From: Donald Wilde Date: Wed, 24 Jun 2020 18:51:04 -0700 Message-ID: Subject: Re: swap space issues To: "Greg 'groggy' Lehey" Cc: freebsd-stable Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 49sjfM3YRQz4LnV X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; REPLY(-4.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 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, 25 Jun 2020 01:51:07 -0000 On 6/24/20, Greg 'groggy' Lehey wrote: > On Wednesday, 24 June 2020 at 9:36:23 -0700, Donald Wilde wrote: >> All, >> >> I recently upgraded my 12-STABLE system to the latest, and now my >> swap subsystems aren't working. I deliberately set up a 40GB >> partition for swap, and when I do 'top -t' I am only seeing 7906M >> total. > > That looks suspiciously like the difference from 32 GB. Could it be > numeric overflow? And if so, where? What does pstat -s say? > Well, hi Greg! LTNT2! pstat -shm: /dev/ada0s1b 65536 (1M blocks), Used: 1.5G, Avail: 63G, Capacity: 2% This is while synth is still running on openblas and openjdk8. >> When using synth, it shows swap usage of < 2%, but then it gives the >> 'out of swap' complaint and tosses all my users out into neverland. > > Unless this also causes kernel messages to that effect, this, too, > could be an issue with synth. I believe the messages about 'out of swap' were from the kernel as it died, not synth. As I say, it killed all my active users, both root and non-root. Why does _top_ show the 7906M number? I suspect that it's deeper than just synth. What else can I share to help diagnose this? > > Greg > -- > Sent from my desktop computer. [snip] -- Don Wilde **************************************************** * What is the Internet of Things but a system * * of systems including humans? * ****************************************************