From owner-freebsd-stable@freebsd.org Fri Jun 26 11:15:56 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 4F778354ECF for ; Fri, 26 Jun 2020 11:15:56 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (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 49tZ7c02Rpz4TC8; Fri, 26 Jun 2020 11:15:55 +0000 (UTC) (envelope-from dwilde1@gmail.com) Received: by mail-lf1-x12a.google.com with SMTP id m26so4926032lfo.13; Fri, 26 Jun 2020 04:15:55 -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=BO7+Zx4VBEafkCbELUkiIQJZWPv6Ry11NHYHl2HXMkM=; b=VdidUoNksxPHZwQBfMqRKTZTX+793ptiu4+gcFGkhbcDOw0xerWCkJ0TXlnhWutHT4 0bVfIcBYcuExz0Qy81Gfy3xVUJKVJaciSr2lKyOaChpGRGKZyTmUKnjrO25L3j6V94FU 5R/8hSJw6FYmM6zDF5HGoQflnERyP9HlBVwUMTpxgsitFQtVe/mO6hksq/SS+WDJNfTB ek5CMuxczfk+Ch4vQMwttzSbBcCss4KjO5v85nc8yN+1eEvnpynEZNBicM6PG231OPks by5oSSnfYwkNQWvKhf0oca76pYxQ50wm9nBEhJvjZpuBgA1wYLWwpbgY0wAiifNbGnRs 4gNw== 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=BO7+Zx4VBEafkCbELUkiIQJZWPv6Ry11NHYHl2HXMkM=; b=Tz4tEAn973HUITJ7WAWMZ1dYavJKPUSLR3mX9KkmAGVXfGZ8vK/U4t8lPijrVbbnWV lSWtnbrRZ8zaortWFYg4XcnIrlr6v4Y2j5XsxbdKIcAzWIB/oS/9dmiahtaN+XkB+I7k hnJ0f6g7R1tK+4LkO6fqbWaVVQyoBAoeCqJyAyUBgzVktA1acIF3ZtscFqm1seHlptHr adxN4++rQMRihUmNnjzLZ4jiRVX5jJUN0k1yYyxDI+kAfjCOBp7vnQa3Z1st4DNIPfx9 BAGCWuvjEmVNKZQEF7/TyXd814CaVZam4rPLXRxbMArHsYrwS2Er2EkAGlsIEcJATgY0 457w== X-Gm-Message-State: AOAM530BzVHuiTaBKCq6Bo+ioieUO8mSMbZIeJUTS3Ny/1Lm64TzMLiN u2E0ZaU7ge8sybGLn5eVdhBYaBthGJncH1rpyGz/q0b7 X-Google-Smtp-Source: ABdhPJwMvQ6sEfAON+LWCp9vrxV6zVS3JyJk6HEqnWsaIGO6TCvELGl7yHVkPfkrW76USS7HZO5/s9R3DhAa27WQb2g= X-Received: by 2002:a19:6b15:: with SMTP id d21mr1590938lfa.42.1593170153778; Fri, 26 Jun 2020 04:15:53 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab3:4703:0:0:0:0:0 with HTTP; Fri, 26 Jun 2020 04:15:53 -0700 (PDT) Reply-To: dwilde1@gmail.com In-Reply-To: <20200626044804.GC79048@eureka.lemis.com> References: <20200625000410.GA10210@eureka.lemis.com> <20200625025248.GB10210@eureka.lemis.com> <20200625052949.GC10210@eureka.lemis.com> <20200626013905.GB79048@eureka.lemis.com> <20200626044804.GC79048@eureka.lemis.com> From: Donald Wilde Date: Fri, 26 Jun 2020 04:15:53 -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: 49tZ7c02Rpz4TC8 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] 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: Fri, 26 Jun 2020 11:15:56 -0000 On 6/25/20, Greg 'groggy' Lehey wrote: > On Thursday, 25 June 2020 at 19:31:34 -0700, Donald Wilde wrote: >> On 6/25/20, Greg 'groggy' Lehey wrote: >>> On Wednesday, 24 June 2020 at 23:27:27 -0700, Kevin Oberman wrote, >>> without trimming: >>> >>>> On Wed, Jun 24, 2020 at 10:30 PM Greg 'groggy' Lehey >>>> wrote: >>> >>>> gpart(8) works just fine on MBR drives and partitions/slices and >>>> has a much friendlier user interface. "gpart resize" is the >>>> command you want. >>> >>> Thanks. I try to offer suggestions that I've tried, and offer an >>> example. I haven't tried 'gpart resize', but it looks much easier. >> >> 'gpart resize' did work well, > > Yes, I saw that from the gpart output you posted. > >> although the man page for gpart assumes way too much. I was able to >> successfully work my way through and create ('gpart add') and mount >> not just one but two 32G swap partitions. > > Yes, I saw that too. Not quite what I was suggesting: I suspected > some overflow issue, so the partitions should really have been a > little shy of 32 GB. And at least for the start you should only mount > one of them. In the unlikely event that it should threaten to fill > up, you can still mount the other one without rebooting (swapon(1)). I got greedy! :) i also wanted to embed my newfound understanding of gpart, geom, and swapping into the noggin so I could move on. > > How are things looking now? So far, it works, but there haven't been enough changes in the ports tree that synth even needs a cuppa. I think what I am going to do is to wipe the machine one more time from 12.1R (with 16G swap, as both you and Peter suggest), STABLE-ize it, and see if synth can handle the entire installed ports tree (around 300 primary+dependency ports) without crashing and with conservative builder-subtask limits. It will take it three days to do that, but I think I know enough of the gotchas to get it to succeed. It's a good idea to have a second one in reserve, but when it broke through the roof it happened way too fast for me to actually enable anything. I'll see if I can make a one-character script invocation and try it, though! > > Greg Again, my thanks. You guys are the best! :D -- Don Wilde **************************************************** * What is the Internet of Things but a system * * of systems including humans? * ****************************************************