Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2020 04:15:53 -0700
From:      Donald Wilde <dwilde1@gmail.com>
To:        "Greg 'groggy' Lehey" <grog@freebsd.org>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: swap space issues
Message-ID:  <CAEC7390DhfczNfpWNF7C0T7QaYOwBdw2rSGL2HbT3Z69X-k3rw@mail.gmail.com>
In-Reply-To: <20200626044804.GC79048@eureka.lemis.com>
References:  <CAEC7391qs%2BA-jMpR1RyvR-BmnLyiksXHkQUjsGeePuEZJfMciw@mail.gmail.com> <20200625000410.GA10210@eureka.lemis.com> <CAEC7390VDxbYSY%2B4_fEaYxwdSPzbFWUVTdHw=vbAgq%2Bnmv09Vw@mail.gmail.com> <20200625025248.GB10210@eureka.lemis.com> <CAEC73938Wjb5MHvLW36PdoAy_nso-tSN51AhUYydC6qxY99pog@mail.gmail.com> <20200625052949.GC10210@eureka.lemis.com> <CAN6yY1te3ZzyY3JdhQAf4_CbD%2Bsf2sjXzU5PH63T2YV2erYS=A@mail.gmail.com> <20200626013905.GB79048@eureka.lemis.com> <CAEC7391pqPb79CgXdYF=Bs-MGz2%2BbC3Gewyjom=BoFA8_AygsQ@mail.gmail.com> <20200626044804.GC79048@eureka.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/25/20, Greg 'groggy' Lehey <grog@freebsd.org> wrote:
> On Thursday, 25 June 2020 at 19:31:34 -0700, Donald Wilde wrote:
>> On 6/25/20, Greg 'groggy' Lehey <grog@freebsd.org> 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 <grog@freebsd.org>
>>>> 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?                     *
****************************************************



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEC7390DhfczNfpWNF7C0T7QaYOwBdw2rSGL2HbT3Z69X-k3rw>