From nobody Mon Jan 22 03:48:06 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TJGQZ3tLvz56vCH; Mon, 22 Jan 2024 03:48:06 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TJGQZ3Lyzz4xts; Mon, 22 Jan 2024 03:48:06 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705895286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bqrzrLCRKnPj8Hv4+GKGikWgABNHNIjYEmfpKwT01pQ=; b=cqMNmFZw1ZV1HboCYTGQiBXympfmhFd2I7AwARkdaieBA+jf9uQSQD52yjZa3y4xB2btzy ntd8UYibjDtan0EQOhBnQ/hnYFsgZsLDrInHQuPV+AXuOTF8NhAM9Zp8oJUW39UURI4Fju ok1vIFVHa7gSk5XKMnCBMwmzaN5HbK4BIT3bBQZTxHiyF93N6IOXoMloUjwpFauhN7t3wq Q0fTEkjZjQaAXWlUJnMvQRSjo/qduGI2MKbvqBeHK2daPiWlqktTgoFWcjC8jpZCT1Idem 7aU/EkmKmz9VkPiQzncmgy7PRS6elulpAHD8j4oGgj5ZbbU80UsFqjMutYJnSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705895286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bqrzrLCRKnPj8Hv4+GKGikWgABNHNIjYEmfpKwT01pQ=; b=lxYgZwhR51a2i4no8vuef+8x8FN2+iBJVXsiiXX5VLlqq0HdqWUbBpZpC5Slx4+OxnVAgm IPpb792aeU75CqaX6EfhXtaZZOPPWShuy0//LHXltXv+NGRYZElGrQwZ754vyK9jMvgTaT t0R83rpP7wEkTNrt9tBsuR+zHCyyVmvtPjRVOWg9bl6Av4TufF4rBY6CVmELxdlscAIXg6 m8oJAw6uVUPebNeI6tERhAljlLFncqFEMoq/12Xsl5vVlA4+o0FofL7Rs7iHRRySQSe36x irJGjOwfQxFNkDePJj/zLjuIrrp7/nSpRfsnJv7b5GEJ03WqEuZukdXJp92F0A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705895286; a=rsa-sha256; cv=none; b=wmg7n0ovgaR2U31hzuRPA8RsdVR7Ho4dZ0g0QhbYBiUmvh0XGI7GqrrjzFt7GM36kuBfAs 41qiRaWj0RqHB88FqwULwJUidYdyIfT9tvXFfn9DOrpjFw/yOdzAXo618w9gElESqf1JCE vPJxFnl+/+p3OLgmaWM9+Njw0SE2WFBwf+zdh4BACd+5JE++K1x56ioM4v+yLJg1gWd2Jk yq8bZEZlZUPJvnzIV6nL7rVmlIbxOF+8U+5blL3ciWZil041wlcxRAeBkapDKjAM9snEtA UOWJQVewJlW6Q5+yge9CicWY5aw+DuXxqsiE7Xk7PjUGrbYyqxvRttXShsk6xQ== Received: by freefall.freebsd.org (Postfix, from userid 1033) id 4D05A19B86; Mon, 22 Jan 2024 03:48:06 +0000 (UTC) Date: Mon, 22 Jan 2024 03:48:06 +0000 From: Alexey Dokuchaev To: Jessica Clarke Cc: Mike Karels , "src-committers@freebsd.org" , "dev-commits-src-all@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: References: <202312191534.3BJFY3fo030908@gitrepo.freebsd.org> List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Jan 22, 2024 at 03:27:57AM +0000, Jessica Clarke wrote: > On 19 Dec 2023, at 15:34, Mike Karels 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