From nobody Thu Oct 24 05:01:23 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 4XYtzm1Pd5z5b4nf for ; Thu, 24 Oct 2024 05:01:24 +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 4XYtzm0F6mz4N5W for ; Thu, 24 Oct 2024 05:01:24 +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=1729746084; 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=vVuadMQu6qvp49dnJdnB3LeuV5QSsHHsqRrInhhs6hc=; b=ictmefVWOeCFGPBMS4WqjHd6VkSraKGzFPYqsWatuwU963eMylyTjhHCZ6ZXj69AkMr96G OF2wAFEoC4yToMFue/YH98WOnufBus5z4KwuwXMZguCbw7KXE2PW9o8u8YhZX7XOoz8fFm S3R6COneRCzwZaHrnFYss8ckLoxdiZC+c+U4bzTAbF8X4YuktWSJv39+l4TvgDKyC9sOfk dN5l5YZWUMAs6UrkBg38gbjjlRk2TymY14CtJeJPtX6aEiaYAASjT+QCeR7t2EsCIdYJk8 nTIeZgWGHlQe1vltEBfeL3YSnPe0G/97ryHgjYC6HtRc9OxpMuxeft2PFpDa5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729746084; a=rsa-sha256; cv=none; b=Ee7v4/T4M7S25S0qYoFCoKEu9GaNPkyp6ibN60l28sILlFLF3NhtIZb3QvmXetzm9KteSY WqK042TVkYdHalsQ8TYnAVxxIatIGhQqVlikE/lqfIThm5gmIPb2vlUcD2yDfSzdVgs+Y7 xdXu9kny1jCAQ+cJQZ8+pZcCPNE0PpHWsj/AAKM9rjEmsiXaCJRtXN8v61BFtLqpL+nkxs 8JU7kV7tvBT6jZMmJCTPb1fG+wumBExrfFWSMn8ZQUz/mva3yPwvVsTc7SP+QT1sMaWgGQ DHPPJ2bhdTU6ntqycYNUqDJjRRPMYaxP//vAvpw0Zm6RFucKaWOz9ICCdb7MMA== 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 4XYtzl6yx2zT0s for ; Thu, 24 Oct 2024 05:01:23 +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 49O51Nej004764 for ; Thu, 24 Oct 2024 05:01:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49O51NCZ004763 for bugs@FreeBSD.org; Thu, 24 Oct 2024 05:01:23 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: Thu, 24 Oct 2024 05:01:23 +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: marklmi26-fbsd@yahoo.com 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 #60 from Mark Millard --- (In reply to Mark Millard from comment #59) # sysctl vm.domain | grep stat | sort vm.domain.0.stats.active: 401978 vm.domain.0.stats.actpdpgs: 62005476 vm.domain.0.stats.free_count: 43575 vm.domain.0.stats.free_min: 12880 vm.domain.0.stats.free_reserved: 2713 vm.domain.0.stats.free_severe: 7796 vm.domain.0.stats.free_target: 43381 vm.domain.0.stats.inactive: 1022754 vm.domain.0.stats.inactive_pps: 136138740 vm.domain.0.stats.inactive_target: 65071 vm.domain.0.stats.inactpdpgs: 9985067 vm.domain.0.stats.laundpdpgs: 32733 vm.domain.0.stats.laundry: 240061 vm.domain.0.stats.unswappable: 6536 vm.domain.0.stats.unswppdpgs: 0 So vm.domain.0.stats.free_count and vm.domain.0.stats.free_target are now approximately equal. It seems to increase vm.domain.0.stats.unswappable more now. Also note vm.domain.0.stats.inactive is about 975 KiPages. Presuming that clean pages are being reclaimed, much of this (and all of vm.domain.0.stats.laundry and vm.domain.0.stats.unswappable) are dirty pages. Whatever Home Depot's home pages does, it seems to cause FireFox to dirty pages but not free them. Sorted by decreasing RES (starting with 2093Mi), the largest firefox processes are are: 1525 0 root 28 20 0 4620Mi 2093Mi select 2 10:00= =20=20 0.26% /usr/local/lib/firefox/firefox -contentproc {744240e1-aa23-48b1-bded-f62a1fa4696a} 1512 7 tab 1512 0 root 78 20 0 4385Mi 1373Mi select 3 71:51= =20=20 1.30% firefox 1526 0 root 28 28 0 3175Mi 627328Ki CPU1 1 218:28= =20=20 7.10% /usr/local/lib/firefox/firefox -contentproc {b91e352c-11e4-473a-bb58-eb4826e54ecf} 1512 8 tab 1524 0 root 29 20 0 3039Mi 504836Ki select 0 18:09= =20=20 0.28% /usr/local/lib/firefox/firefox -contentproc {075167db-4164-41b8-b7df-4f99b4610ef9} 1512 6 tab 1520 0 root 21 20 0 2688Mi 337388Ki select 1 0:32= =20=20 0.00% /usr/local/lib/firefox/firefox -contentproc {d3bc151f-c6c2-4e85-8d13-1f3eda86142f} 1512 2 tab They also tend to be the bigger CPU users. For reference: 1579Mi Active, 3983Mi Inact, ??? Laundry, 1241Mi Wired, . . ., 174768Ki Fre= e, 3761Mi MaxObsActive, 1281Mi MaxObsWired, ??? MaxObs(Act+Wir+Lndry) As far as Inact + (swappable laundry+unswappable laundry) MiByte estimates go: 3983 + (240061+6536)*4096/1024/1024 is somewhat over 4946.2 at this point (Based on expecting Inact to be almost all dirty pages in this context.) --=20 You are receiving this mail because: You are the assignee for the bug.=