On Tue, 13 Oct 2020, Wols Lists wrote:

> Date: Tue, 13 Oct 2020 03:54:48
> From: Wols Lists <antli...@youngman.org.uk>
> Reply-To: gentoo-user@lists.gentoo.org
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] tried desktop profile
>
> On 13/10/20 07:48, J. Roeleveld wrote:
> > On Tuesday, October 13, 2020 8:28:01 AM CEST Andreas Fink wrote:
> >> On Tue, 13 Oct 2020 02:10:04 -0400
> >>
> >> Jude DaShiell <jdash...@panix.com> wrote:
> >>> x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated
> >>> program cc1plus compilation terminated.
> >>
> >> These two lines stongly suggest that you ran out of memory while
> >> compilation. You could try to build it with only one job (-j1),
> >> currently you are using -j2.
> >> Another option would be to buy more RAM ;)
> >> And last but not least, you could increase your swap memory, but be
> >> prepared that your system becomes unresponsive and compilation will
> >> probably take forever.
> >
> > One more suggestion, your PORTAGE_TMPDIR is set to "/var/tmp".
> > By default, this is a tmpfs, which means it's all kept in RAM.
>
> If that's true then somebody has ****ed up!
>
> /tmp is specified as "files may disappear at any time"
>
> /var/tmp is specified as "temporary storage that should survive a reboot"
>
> Okay, that's not the exact wording, but that is the effect.
> >
> > If your system is that low on RAM, you might want to change that to a
> > different location that is backed by a real disk.
> >
> The other thing about default tmpfs, is it defaults to half of ram. So
> it could actually be quite small. I explicitly set mine to be big,
> because I configure oodles of swap.
>
> Cheers,
> Wol
>
I'm trying -j1 first.  This machine has 50% of its maximum ram capacity
in use and only has 2gb of ram capacity so yes this is a low memory
machine.  Why I'm using it at all is since it has available a 3tb hard
drive.  As long as /tmp directories under the $HOME directory structure
have better system protection than /tmpfs and /var/tmp if the -j1 build
fails I'll try pointing the memory to a safer place.  I need to buy some
decent sized ssd drives since that way I can do this on my new machine
with 14GB of ram.

> >

--


Reply via email to