From nobody Sat Jan 15 05:38:56 2022 X-Original-To: dev-commits-src-main@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 76CB81944661 for ; Sat, 15 Jan 2022 05:39:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-19.consmr.mail.gq1.yahoo.com (sonic305-19.consmr.mail.gq1.yahoo.com [98.137.64.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JbRmk1MPjz4Zbw for ; Sat, 15 Jan 2022 05:39:02 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642225140; bh=Ec8QGjQZiIvz0rREJEtb3QoDxVDkNOGgTQ2STP9t/cc=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=GgLASp6pEBfZy7Cy/ZfGzXXEh8Jxiw5ACjEVRBp/dxZKzpxjoOiFoFQ3TsYwuV5oKyJtO9SirFiUbBfB763MKtP/cX5lMhfQyhVoU8V5d8VvK1JcXVYrt+SKKWQXhVBDP/GHgTBMKbbAzgyb+kusupzirv85E5MrMVToZs7CBjac+rcblzZwIFdzWK0QbNgqy9RwczAicrSzZQv/3pFuEcusboupDdvazQk2mkLzQd3kFMhc3k549tM3csDamFPWL9Ry7T4aLhh69cBmB3Ed8QWDg3BxoYmZIESPFl5hsz4uRI2n98lkpG8RkLROxas6r3+n/9qMb8cFxY2QO9Hv1Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642225140; bh=l3xQOP/QeEppkfRaPYq+6TFHSSw7zmPP9hes8nn04b1=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=X1Rwg5PKC+CAqGBTzfqN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qu.vc9ox bquNmnSN0EJ_RilpassrTpcXGRXf8fqsfumnsYaSl2PDHm4Mq1AQIWl_FWLHyOVISbDFbCo7oTQq Bl.pvDDKftcQYUOpaM_HNNPDKLPEZVuDaAkcZB2EayAnveubkh13wWKVESYkHYcrMwFCOgVMlz0y VBE0xkJqkEhruZWkmv2aGu7bAu5C1E7JGFAJL2b33ddO3Tz6zgcGoO7T310HhXlTME53BI.OHuX1 3nOBUSTy7Q_y73Qw6jsfTIF152ZBALYlzUHGFrSpEbgAmTeJspd6YuFUhQwQXnhRtwJPiMTjZHg9 QMhkDIJ0v1s5XglMOEf.1gkLkM0L5WGBWMMJZmx3Y2WrysnsiNmg52j4f_g7QRatMpU0_gfx8u9k 0B_i8w.Ja1l7UukkayrnpqDDxloa2eh6M3qGv7mYRFJ2X_8dIGzegCzJzNJmWIrqchI6ZzJmulel 61SBE4Sd5yNqF_NEFK21Ik8PhCQ6TaLFA5U71z845hWc5rJZYy0D37hVH.O0atMyOMj0V4QvHLv8 V_r57ewwlJYRm9u5N X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Sat, 15 Jan 2022 05:39:00 +0000 Received: by kubenode517.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID fef330de30ab6e91d7c9d230deff12e2; Sat, 15 Jan 2022 05:38:57 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: git: 4a864f624a70 - main - vm_pageout: Print a more accurate message to the console before an OOM kill Message-Id: <1EF55D96-F7E3-4AA6-A331-782362A70878@yahoo.com> Date: Fri, 14 Jan 2022 21:38:56 -0800 To: Mark Johnston , freebsd-current , dev-commits-src-main@freebsd.org X-Mailer: Apple Mail (2.3654.120.0.1.13) References: <1EF55D96-F7E3-4AA6-A331-782362A70878.ref@yahoo.com> X-Rspamd-Queue-Id: 4JbRmk1MPjz4Zbw X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=GgLASp6p; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.82 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.82:from]; MLMMJ_DEST(0.00)[dev-commits-src-main]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.82:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Thanks. This will allow me to remove part of my personal additions in this area --and my having to explain the misnomer when trying to help someone analyze why they end up with OOM activity so they can figure out what to do about it. There seem to be two separate sources of VM_OOM_SWAPZ. Showing my personal additions for them (just making them explicit in the sequence of messages generated): diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index 01cf9233329f..280621ca51be 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -2091,6 +2091,7 @@ swp_pager_meta_build(vm_object_t object, = vm_pindex_t pindex, daddr_t swapblk) 0, 1)) printf("swap blk zone exhausted, = " "increase = kern.maxswzone\n"); + printf("swp_pager_meta_build: swap blk = uma zone exhausted\n"); vm_pageout_oom(VM_OOM_SWAPZ); pause("swzonxb", 10); } else @@ -2121,6 +2122,7 @@ swp_pager_meta_build(vm_object_t object, = vm_pindex_t pindex, daddr_t swapblk) 0, 1)) printf("swap pctrie zone = exhausted, " "increase = kern.maxswzone\n"); + printf("swp_pager_meta_build: swap = pctrie uma zone exhausted\n"); vm_pageout_oom(VM_OOM_SWAPZ); pause("swzonxp", 10); } else Care to comment on the distinctions and why there are two contexts classified as "out of swap space"? Would either one show the swap space as (nearly?) all used in, say, top? Or might one of them still end up looking like a misnomer from just a top (or whatever) display? =3D=3D=3D Mark Millard marklmi at yahoo.com