From nobody Wed Jan 17 10:02:58 2024 X-Original-To: bugs@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 4TFLzQ6QGDz57TZN for ; Wed, 17 Jan 2024 10:02:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TFLzQ5JR1z4Wv2 for ; Wed, 17 Jan 2024 10:02:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705485778; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=paT3TtMJYUOsgSRD+oyunYyHyDUnPU3tUl8ic22J/cI=; b=ZMPTDZ1Nnm1YMCrU1B9A4bBACrWFk+ruDpuZVhi2Z0wMI4pCLrin0QNmGl4lZLADTBU6KW sw+2VFRN9WRsCJ9HchtLgdPXuVWp3mhv1eGvAFg7FF1Jg8oCk7fpdyxf9LgsYSvA9R67mS DjkJjGX86uZcxpdaGLscnsBC2zBWY9c6s0nvuoB74LhM9AlQBcBwSgM0mQ3dK0jNA7x8ZG elhgt/8p+RFi6ZbucgoxQ20DRfTiHXVkz/UwUFEBGA0rvVasr5nBpxR2J847KJQLGt08Ef 93kB6kaplZGM39o6jw2yDzjWLo1M3jEpVDn8R0ImVtdsbUT8HDL72oRjt0L8ow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705485778; a=rsa-sha256; cv=none; b=L3IgjDezl0E1+1TZFnN7yJVL2IU23MCn5HEzIaw+zI7pf6So1BiWYj34SHu3k5iRoxhj1G uW/j+No77hAr702I+jUVfgPrgEvq4XMEFc/MAbPXfJbmb4oYLuPq0m9PPapqk7j+hdnspV hdbMEco5cOd6LaagxcVudelTOLYK909UzBjyavtW4pAUFHjnwEmgfLQ7g3uklGC51MAmg9 Tb+zSge4M3c/hHg45rZPRHRJgzT93Dq25UZ7j68XNoG7RngGKV9UCZDzzYVnO5WmAP4fNb g0Of9rR6YCM+BK9gCU4fqLIuW0ZMM6U0/SZ7bHxc3NidfACv0bjIxuWHNEoTMQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TFLzQ4N0pzJbM for ; Wed, 17 Jan 2024 10:02:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 40HA2wES014062 for ; Wed, 17 Jan 2024 10:02:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40HA2wJO014061 for bugs@FreeBSD.org; Wed, 17 Jan 2024 10:02:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 276402] tmpfs: memory reserve does not account for ARC Date: Wed, 17 Jan 2024 10:02:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: throwaway_vthgwq4@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276402 Bug ID: 276402 Summary: tmpfs: memory reserve does not account for ARC Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: throwaway_vthgwq4@protonmail.com When there is tmpfs entry in fstab without size specified, e.g. none /var/run/user tmpfs rw And ZFS ARC fills available memory fully, writes to tmpfs will fail with no space left on device, ARC won't be reclaimed. This results in hangs when switching browser tabs or spawning Wayland clients in e.g. x11-wm/sway which uses XDG_RUNTIME_DIR on tmpfs. Disabling memory reserve with sysctl vfs.tmpfs.memory_percent=3D100 restores old behavior (ARC is reclaimed for tmpfs) and gets rid of hangs in x11-wm/sway. --=20 You are receiving this mail because: You are the assignee for the bug.=