From nobody Mon Oct 21 21:01:11 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 4XXSQb1Sssz5Zlmj for ; Mon, 21 Oct 2024 21:01:11 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XXSQZ5rnJz4h5J for ; Mon, 21 Oct 2024 21:01:10 +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=1729544470; 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: in-reply-to:in-reply-to:references:references; bh=7CmBoq3N/rUfwttWhsCWzYYeD5vEUSqqenk4+o3J/DE=; b=EkJxApuPSAhUNzBsB7ghIgyyZQZfJeOO/FD2qOkQlFgs1d0v0AmVS/od8l8nPcYu3MTTVN YiHCV7hwYzg+QhhEAwdEOlem7yXuLqcVdth3pUDNooEdVZfa2ze1QlWG3nx3xRalUIzbjG XcnPDL5v6Aos2BIfJIhGWA8bZiYrxTucw2tFU83wOaYDXbp4C1xLAU4sxEa9t7XEYqVUEO Penz9a9bx7CJrW5Cc9ur7/dhRhlDzada++BW76fQUh+wJCW0nAsjdf20p16m/Mvs52Y65J S1zI1IAEHIDKm7QmsmyKlJT21Pg5/nPKWeCg/k2L4Dw6cYHkq72oDBLBqc4Sfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729544470; a=rsa-sha256; cv=none; b=CXn4vG+BGhMT10g8+dAvvdyj7gmyxHRCgxH/6lJDfFPbrlr96G0betO/vagwFcXNianbqY PGL8hp66z/83Hr8bGEhYXCPUFmql5oTquxSD3Wo6d8/eP5GaS/ozu1yHwEDkAHbR0/lQHe VL9O2T1tL3AaTj7EHeh/gF0oxOnWqKUsNRt8Az15EhQew15+y0kB1BM3teH2NEitmxzlET LPChd2Ro1s8HDXYiMR3EkDK3rawSnF6g1Mx5/wXv/IyYxHaCyC9wfJbiiTc1BWgVMaCHoD cJz3u6TkejjMLrYWsJ1VjAONCw6s/PvIT90HySRwPMrDTuSUuo0jvRR1QMSqzQ== 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 4XXSQZ57q7zlvg for ; Mon, 21 Oct 2024 21:01:10 +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 49LL1Amq089840 for ; Mon, 21 Oct 2024 21:01:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49LL1ApB089839 for bugs@FreeBSD.org; Mon, 21 Oct 2024 21:01:10 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 280846] Low memory freezes / OOM: a thread waited too long to allocate a page Date: Mon, 21 Oct 2024 21:01:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D280846 --- Comment #45 from Mark Johnston --- (In reply to Mark Millard from comment #44) Yes, I will commit the changes to main this week and MFC with a short timeo= ut. (In reply to Henrich Hartzer from comment #42) Laundry pages are dirty memory that can only be reclaimed by saving a copy = to some swap space. firefox will generate quite a lot of it. I'd hope that 8= GB of RAM is enough to run firefox, but it's been a long time since I ran a desktop with less than 16/32GB. On my desktop, firefox is consuming a "healthy" amount of memory. It's not easy to see how memory is shared among different firefox processes, but its total memory usage is definitely less than the sum of the RES column: 251 markj 37 23 0 9331M 2663M select 3 483:17 13.66% fire= fox 274 markj 30 23 0 4743M 871M select 10 165:13 9.64% fire= fox 245 markj 95 20 0 17G 3617M select 0 41.9H 1.94% fire= fox 66817 markj 34 20 0 8444M 784M select 1 113:04 1.76% fire= fox 86228 markj 29 20 0 2928M 542M select 0 0:09 1.35% fire= fox 86836 markj 30 20 0 3463M 722M select 9 1:31 1.00% fire= fox 257 markj 32 20 0 3873M 864M select 7 150:33 0.64% fire= fox 88325 markj 31 20 0 2502M 178M select 11 0:00 0.52% fire= fox 249 markj 29 20 0 23G 1525M select 2 173:56 0.36% fire= fox 268 markj 32 21 0 5655M 1197M select 5 377:49 0.29% fire= fox 273 markj 30 20 0 4656M 966M select 7 151:09 0.18% fire= fox 83201 markj 28 20 0 2634M 297M select 8 0:24 0.17% fire= fox 256 markj 29 20 0 3444M 555M select 0 47:48 0.16% fire= fox 262 markj 29 20 0 3599M 558M select 4 58:56 0.14% fire= fox 76703 markj 29 20 0 2651M 301M select 4 0:54 0.12% fire= fox 252 markj 29 20 0 5898M 1023M select 8 40:35 0.12% fire= fox 87306 markj 29 20 0 2624M 274M select 9 0:18 0.11% fire= fox 10355 markj 27 20 0 2946M 384M select 8 12:39 0.09% fire= fox 258 markj 29 20 0 2671M 247M select 9 39:37 0.08% fire= fox 291 markj 38 20 0 4034M 766M select 9 97:15 0.04% fire= fox 279 markj 31 20 0 4559M 659M select 7 109:57 0.03% fire= fox 255 markj 29 20 0 3729M 658M select 0 44:00 0.03% fire= fox 59901 markj 28 20 0 2882M 469M select 2 6:20 0.01% fire= fox 253 markj 32 20 0 4738M 931M select 5 44:53 0.01% fire= fox 98743 markj 27 20 0 3154M 509M select 4 3:28 0.00% fire= fox 86990 markj 29 20 0 2760M 388M select 8 0:08 0.00% fire= fox 266 markj 5 20 0 869M 241M select 5 98:24 0.00% fire= fox 261 markj 29 20 0 3021M 375M select 6 64:42 0.00% fire= fox 259 markj 5 20 0 383M 137M select 1 32:56 0.00% fire= fox 250 markj 28 20 0 4044M 783M select 1 9:10 0.00% fire= fox 248 markj 6 20 0 267M 121M select 7 5:35 0.00% fire= fox 79393 markj 33 20 0 7544M 1803M select 4 5:23 0.00% fire= fox 10361 markj 28 20 0 2532M 181M select 10 3:11 0.00% fire= fox 71850 markj 27 20 0 2556M 212M select 5 0:06 0.00% fire= fox 71892 markj 28 20 0 2521M 192M select 6 0:05 0.00% fire= fox 88241 markj 31 20 0 2502M 180M select 8 0:00 0.00% fire= fox 88409 markj 19 21 0 2447M 172M select 8 0:00 0.00% fire= fox 88352 markj 19 20 0 2447M 172M select 9 0:00 0.00% fire= fox 88410 markj 19 21 0 2447M 172M select 2 0:00 0.00% fire= fox That said, the memory usage is certainly substantial. Userspace memory leaks are also certainly a possibility, though I haven't s= een one in firefox in quite a while. --=20 You are receiving this mail because: You are the assignee for the bug.=