Date: Wed, 15 Nov 2023 10:39:50 -0800 From: Mark Millard <marklmi@yahoo.com> To: mike tancsa <mike@sentex.net> Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: RELENG_14 [process] was killed: failed to reclaim memory Message-ID: <9EFB40F5-65BA-4F48-AF07-157B6617A096@yahoo.com> In-Reply-To: <a58d533b-c2cf-4a98-b586-fb914837cb63@sentex.net> References: <4D69D830-3C43-47B0-9E36-428598F82681.ref@yahoo.com> <4D69D830-3C43-47B0-9E36-428598F82681@yahoo.com> <a58d533b-c2cf-4a98-b586-fb914837cb63@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 15, 2023, at 08:58, mike tancsa <mike@sentex.net> wrote: > On 11/14/2023 8:25 PM, Mark Millard wrote: >> mike tancsa <mike_at_sentex.net> wrote on >> Date: Tue, 14 Nov 2023 13:44:22 UTC : >>=20 >>> While testing some new hardware on a recent RELENG_14 image (from = Nov >>> 10th), I noticed some of my ssh sessions would get killed off with = the >>> errors below (twice in 24hrs) >>>=20 >>> pid 1697 (sshd), jid 0, uid 1001, was killed: failed to reclaim = memory >>> pid 6274 (sshd), jid 0, uid 1001, was killed: failed to reclaim = memory >>> . . . >> [My notes below are not specific to releng/14.0 or to >> stable/14 .] >>=20 >> What do you have for ( copied from my /boot/loader.conf ): >=20 > Thanks Mark, no tuning in there other than forcing a particular driver = to attach >=20 > # cat /boot/loader.conf > kern.geom.label.disk_ident.enable=3D"0" > kern.geom.label.gptid.enable=3D"0" > cryptodev_load=3D"YES" > zfs_load=3D"YES" > hw.mfi.mrsas_enable=3D1 > t5fw_cfg_load=3D"YES" > if_cxgbe_load=3D"YES" > # >=20 >=20 >=20 >> # >> # Delay when persistent low free RAM leads to >> # Out Of Memory killing of processes: >> vm.pageout_oom_seq=3D120 >>=20 >> The default is 12 (last I knew, anyway). >=20 > Any thoughts for a machine with a lot of RAM, Am I better to limit ARC = or change the default to 120 ? >=20 I have vm.pageout_oom_seq=3D120 everywhere, from the little arm's to the = ThreadRipper 1950X with 128 GiBytes of RAM. I've hit the kills in all the contexts, = even UFS based on the 1950X (no ARC competing for RAM). (High load average style = of bulk -a test run, using USE_TMPFS=3Ddata and using even USE_TMPFS=3Dno .) (My bulk -a testing is rare.) =3D=3D=3D Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9EFB40F5-65BA-4F48-AF07-157B6617A096>