Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2024 03:48:06 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        Jessica Clarke <jrtc27@freebsd.org>
Cc:        Mike Karels <karels@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@freebsd.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@freebsd.org>
Subject:   Re: git: 636592343c3e - main - tmpfs: increase memory reserve to a percent of available memory + swap
Message-ID:  <Za3ldgmM-nbPNdxe@FreeBSD.org>
In-Reply-To: <FCB7B75C-1816-4F93-9560-59208F5A8781@freebsd.org>
References:  <202312191534.3BJFY3fo030908@gitrepo.freebsd.org> <FCB7B75C-1816-4F93-9560-59208F5A8781@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 22, 2024 at 03:27:57AM +0000, Jessica Clarke wrote:
> On 19 Dec 2023, at 15:34, Mike Karels <karels@FreeBSD.org> wrote:
> > commit 636592343c3ec0feb61a4d8043676381384420dd
> > 
> >    tmpfs: increase memory reserve to a percent of available memory + swap
> > 
> >    [...]
> > 
> >    Add sysctl for vfs.tmpfs.memory_percent and the pre-existing
> >    vfs.tmpfs.memory_reserved to tmpfs(5).
> > 
> >    PR:             275436
> >    MFC after:      1 month
> >    Reviewed by:    rgrimes
> >    Differential Revision:  https://reviews.freebsd.org/D43011
> 
> I just got:
> 
>   make[6]: Could not create temporary file /tmp/makeDl4i9S:
>   No space left on device
> 
> after doing a buildworld -j4 on a 4 core, 16 GiB system where /tmp is a
> tmpfs, with the prior buildworld having taken me past this commit,
> which I strongly suspect to be the cause. Whilst I understand the
> motivation behind your commits, this is a sad regression to have; it's
> not exactly a particularly strange situation.

FWIW, I've seen two people complain about this last week, apparently
this kernel OOM protection doesn't work very well. :-/

./danfe



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