Re: poudriere: swap_pager: out of swap space

From: Lexi Winter <lexi_at_le-fay.org>
Date: Sat, 13 Jan 2024 03:27:29 UTC
Ronald Klop:
> On 1/11/24 03:21, Lexi Winter wrote:
> > i'm building packages with poudriere on a system with 32GB memory, with
> > tmpfs and md disabled in poudriere (so it's using ZFS only) and with the
> > ZFS ARC limited to 8GB.

> My first guess would be that you are using a tmpfs tmp dir which uses
> swap as the backing-storage which is now full.  Configure poudriere
> with USE_TMPFS=no to prevent this.

hello,

tmpfs is already disabled in poudriere.conf:

	USE_TMPFS=no

a couple of people suggested changing PARALLEL_JOBS or similar settings.
i'm still trying to find the best combination of PARALLEL_JOBS and
MAKE_JOBS_NUMBER, but what's confusing me here is that system is
claiming out of memory while having plenty of free memory - so it
doesn't seem that too many PARALLEL_JOBS is eating the memory.

in the mean time i've added 16GB of extra swap (previously it had 2GB),
and this seems to have fixed the errors, but i'm not sure why this is
necessary.

Mem: 2440M Active, 18G Inact, 1696M Laundry, 8580M Wired, 1565M Buf, 1143M Free
ARC: 1959M Total, 548M MFU, 371M MRU, 22M Anon, 29M Header, 987M Other
     404M Compressed, 1439M Uncompressed, 3.56:1 Ratio
Swap: 18G Total, 3090M Used, 15G Free, 16% Inuse

	thanks, lexi.