From nobody Tue Nov 8 17:37:35 2022 X-Original-To: freebsd-current@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 4N6Fg454YGz4TyK3 for ; Tue, 8 Nov 2022 17:37:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-20.consmr.mail.gq1.yahoo.com (sonic313-20.consmr.mail.gq1.yahoo.com [98.137.65.83]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4N6Fg42Jxwz4CST for ; Tue, 8 Nov 2022 17:37:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1667929070; bh=XAfOc03x/Z7Aq2COpSuK3CrhfKpLfG673QUrJF3vQAE=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=pX+KVwv9vwYwv4akUtxp8+tol5ce3P4VIbpRSx9AxqE8mrJ61KaOncoYKdWBO4VJAsEld89rCurgli4ve9gfQ5swNFv8cCBnwfQ//Y7KWw0Ta/KIFVsED/maOeEO10B4cilAKqqaLUsbmj7wOlo25GRfPaY5auf0T8RfSSb10VdfRJSGmTiqRmzvzzm8UlwYSqNnBv8mWWeAC8pJqqJSgyKfBPhrYa/HXYzM5bnrMo0IJ+XIByO+HtfXbtwkX7+buL56mdaKnwo4VNuen20TbsNVq8wgD3FcUKE3FiyqH8M8ymq4gNjD6K71BxAZzyQiYL0ff5S+4LMaqC+a/5Yukg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1667929070; bh=wEz0uatC0lf2SuJ9HnONORlT+tX9H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ipzhoXDF.6RF5zhXX1cNYTMsZkMMHMRQ9QOYBK4mhjP2OOQEbXd2Tazxtzpj7p24ayct1tpE xdveDNzb8ouVlOaoSg0CCfrVHITcXnFxjLasajePGcY7eCreT.4BT7q5GYv6ycXZFcCWm8hwZOPd GlhQYX0.BOgBXZSukqEEvb_zbxyZ0IsuatHWoTR3SfzDSpnIeegPEbnz0T64u0Z3jEngoantQ1dn UMDyVXa9uA.j2yLzUMXv4xD4qbWr09YExHQk1UFcEfPIH7OaCCuF45niWzNVpD7e9ALvBKYkSz7l XjRTHDUzJGzIf.SZDnRzFBS4QGQUm9hrmvlXy9zglsNS4EG0syZclIcKijAlJK5WLZABn7x7lBRa _nw2yc.x6NVhi.DJtBcToNiM86AIVIq69ZITrPymMKbjw.w_77u.zeul3xBP1OTzwsZ1pp8yLkXw a3VF2BMvL22txHD015rMypVP33DigFLTb0p6iqLMP6cobxTB7Ize3Q0xWRq7PTr8Nb46jah2OYjc Pxsn2oHpQcX1VfCZTnojQ_644WDkNFnOYi2FIUgx6ZFSojv3UsVjWFtE5F.KsVH6wwo9.g05Yj2x QwA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.gq1.yahoo.com with HTTP; Tue, 8 Nov 2022 17:37:50 +0000 Received: by hermes--production-ne1-6bcfb7fb87-8spmd (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f36c19c8fea87d411cba89fde7e8d7be; Tue, 08 Nov 2022 17:37:47 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: 14.0-CURRENT failed to reclaim memory error in RPi 3B build From: Mark Millard X-Priority: 3 (Normal) In-Reply-To: <1722758786.127406.1667909706281@localhost> Date: Tue, 8 Nov 2022 09:37:35 -0800 Cc: Ronald Klop , freebsd-current Content-Transfer-Encoding: quoted-printable Message-Id: <1E33E6A3-ABB8-4804-B2A2-0E95E853C860@yahoo.com> References: <84376CC9-B991-4BF3-AF5F-0AA09CB28339.ref@yahoo.com> <84376CC9-B991-4BF3-AF5F-0AA09CB28339@yahoo.com> <1722758786.127406.1667909706281@localhost> To: Archimedes Gaviola X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Rspamd-Queue-Id: 4N6Fg42Jxwz4CST X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-ThisMailContainsUnwantedMimeParts: N On Nov 8, 2022, at 04:15, Ronald Klop wrote: > Van: Warner Losh > Datum: dinsdag, 8 november 2022 04:28 > Aan: Archimedes Gaviola . . . > ... > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 256929, size: = 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 3628, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 255839, size: = 40960 > pid 46153 (c++), jid 0, uid 0, was killed: a thread waited too long to = allocate a page > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 255857, size: = 28672 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 3634, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 256037, size: = 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 255320, size: = 8192 > This means that paging to the swap partition and/or swap file took = too long (> 30 seconds... that's all that indefinite means). It also = means that it can't write to backing store dirty pages to give to = another process... > Typical reason is that the disk / flash is not responsive to writes = for some reason. You'll need to find why... I'd look at trims. > Or.... if you can't change the disk... you need to put less memory = pressure on it.. > Warner > =20 >=20 >=20 > NB: a way to put less memory pressure on it is not using -j3, but -j2 = or -j1 in your make command. >=20 Extending Ronold's comment: If things are really taking this long for the paging I/O, you might actually find, say, -j2 takes less elapsed time than -j3 because of the latencies involved in -j3 causing more overall delay. vm.pfault_oom_attempts=3D-1 would still be appropriate for avoiding I/O kills at any -jN: the smaller -jN just makes the issue less likely, not impossible. (Again, presuming sufficient swap/paging space if deadlock is to be well avoided.) (I use NVMe or SSD USB media that do not get such long delays but fit the power limitations of the context. I have about as little on microsd card media as I can get away with in my context. I also avoid spinning rust. Thus I've only gotten "indefinite wait buffer" or the like back before such was true, long ago.) =3D=3D=3D Mark Millard marklmi at yahoo.com