Gentoo Archives: gentoo-user

From: lee <lee@××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Installing Gentoo on a VPS with little RAM
Date: Mon, 26 Dec 2016 21:45:21
Message-Id: 87a8bifjqg.fsf@heimdali.yagibdah.de
In Reply to: [gentoo-user] Installing Gentoo on a VPS with little RAM by Francesco Turco
1 Francesco Turco <fturco@××××××××.fm> writes:
2
3 > Hello.
4 >
5 > I have a Vultr VPS instance with Arch Linux but I'd like to replace it
6 > with Gentoo Linux. The last time I tried that I couldn't build some
7 > packages because the kernel killed gcc after a while. Please notice this
8 > VPS instance has only 768 MiB of RAM. What can I try besides removing
9 > -pipe from C(XX)FLAGS and setting MAKEOPTS to -j1? Should I add a swap
10 > partition? Currently there's only a single root btrfs filesystem with @,
11 > @boot and @home subvolumes. Btrfs doesn't support a swap file as far as
12 > I know.
13
14 You could verify if it really does run out of memory. If that happens,
15 adding a swap file or a swap partition or more memory might help.
16
17 > My VPS is currently used for the following things:
18 > - Static personal website
19 > - Shaarli (PHP application with no database)
20 > - Tiny Tiny RSS (PHP application with database)
21 > - ZNC server
22 >
23 > Thanks.