From nobody Sat Jan 04 21:49:26 2025 X-Original-To: freebsd-hackers@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 4YQYyJ5Gcfz5jrjq for ; Sat, 04 Jan 2025 21:50:00 +0000 (UTC) (envelope-from karl@denninger.net) Received: from colo1.denninger.net (colo1.denninger.net [104.236.120.189]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4YQYyH5Q8cz4Q93 for ; Sat, 4 Jan 2025 21:49:59 +0000 (UTC) (envelope-from karl@denninger.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of karl@denninger.net designates 104.236.120.189 as permitted sender) smtp.mailfrom=karl@denninger.net; dmarc=pass (policy=none) header.from=denninger.net Received: from denninger.net (syn-071-015-252-132.res.spectrum.com [71.15.252.132]) by colo1.denninger.net (Postfix) with ESMTP id AA59C2110DC for ; Sat, 04 Jan 2025 16:49:30 -0500 (EST) Received: from [192.168.10.28] (D18.Denninger.Net [192.168.10.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by denninger.net (Postfix) with ESMTPSA id 41B3C36E3DB for ; Sat, 04 Jan 2025 16:49:28 -0500 (EST) Message-ID: <12dcc55d-67ae-467b-9249-3d60047d05f0@denninger.net> Date: Sat, 4 Jan 2025 16:49:26 -0500 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: curious crashes when under memory pressure To: freebsd-hackers@freebsd.org References: <9e71d8eb-74c3-4bcb-89b1-90d4f9746168@quip.cz> <33db3282-25c4-42fb-8d97-1918d52fa9e2@denninger.net> <4094b79b-c54a-4953-b693-1b4e8387cf9f@freebsd.org> <87928610-fcad-400e-b7b3-076c6d3f1200@freebsd.org> Content-Language: en-US From: Karl Denninger Autocrypt: addr=karl@denninger.net; keydata= xsFNBF1Rd+gBEACmLAH7SAzdQq57ZN56QQEy0jDFfH5BvGOMZgCaP+Y5lJQ5u9WphCoCALMs Rg0o1Q9DRNWgUmy/cgsxioXAEzZFXXzOHPJhwplVOgfjxnoByD5KQhWG8Owm9QmATdtiZPSV 4UYVNUIbZv7btSnnAXysG2OUHajYS5PVeFQxFbhNFq/SS8VaXr1WEVTFa8NFKp2W3/KY1A+U KKDUlYwnOauK3fnY9chF2IRSoxAbBJFrJ4lPGz04HtzNos4Q9CBfTphKcdFjcPntNS9wrqs3 sm+7hLNTH9B2Kj6aekG5UhD03eyP+gevTgBy51RL6ULzI13Kc4aeyOByuBXrA8D2m2Ee67iy 4+ZSxM9Wn1gQce5624OWzCYIGBH2r75Bshp1KHKu36N2rN//kyKYnwl/z6UZB/S9cMUFKZgL gFx7QxpFX/HvSiBcPfcGS0meModpg6qma7/2jRoQAXacslpiT+uOfRGspNbnglkbw435RzX/ kMUclJQNZBBBUpPiGjVCjeBTiAfN8TyjS+pWzwxNCUZWbYO5xVaS0gbIhgVNoBOGn1rdTsdA PP65SRjaoL5KY6bzkkzrXLB2Djx8/p4vr0qIqxIQWbewJq3xKyKGiqI46ae77BF7k0B++Ndx g9K9UeWKl/iJ0eoI0ftR+xH3aIHTU1Or3j/tj4j8Z0tnVSyt1wARAQABzSNLYXJsIERlbm5p bmdlciA8a2FybEBkZW5uaW5nZXIubmV0PsLBfwQTAQgAKQUCZj4NhwIbIwUJDK6K2AcLCQgH AwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJEG8twBXrj1l42DQP/A0AGcBuGhHzGh2aFyW94B29 ECEkmk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-b7b3-076c6d3f1200@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------COoynfxEMPq2qq1qTL6ggZ7E" X-Rspamd-Queue-Id: 4YQYyH5Q8cz4Q93 X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.79 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[denninger.net,none]; R_SPF_ALLOW(-0.20)[+mx:c]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,multipart/alternative,text/plain]; MIME_BASE64_TEXT(0.10)[]; XM_UA_NO_VERSION(0.01)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[karl]; HAS_ATTACHMENT(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:14061, ipnet:104.236.64.0/18, country:US]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:+,4:~,5:~] This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------COoynfxEMPq2qq1qTL6ggZ7E Content-Type: multipart/mixed; boundary="------------uD1A7AWtrczYDRvtHzHSoIW0"; protected-headers="v1" From: Karl Denninger To: freebsd-hackers@freebsd.org Message-ID: <12dcc55d-67ae-467b-9249-3d60047d05f0@denninger.net> Subject: Re: curious crashes when under memory pressure References: <9e71d8eb-74c3-4bcb-89b1-90d4f9746168@quip.cz> <33db3282-25c4-42fb-8d97-1918d52fa9e2@denninger.net> <4094b79b-c54a-4953-b693-1b4e8387cf9f@freebsd.org> <87928610-fcad-400e-b7b3-076c6d3f1200@freebsd.org> In-Reply-To: <87928610-fcad-400e-b7b3-076c6d3f1200@freebsd.org> --------------uD1A7AWtrczYDRvtHzHSoIW0 Content-Type: multipart/alternative; boundary="------------9Kk00v0cuKnYdz8l4d0ClPVw" --------------9Kk00v0cuKnYdz8l4d0ClPVw Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMS80LzIwMjUgMTY6MTEsIENyYWlnIExlcmVzIHdyb3RlOg0KPiBPbiAxLzQvMjUgMTA6 NDAsIFBldGVyICdQTWMnIE11Y2ggd3JvdGU6DQo+PiBUaGVyZSBtaWdodCBiZSBhIGNvcnJl c3BvbmRpbmcgbWVzc2FnZSBpbiB0aGUgc3lzdGVtIGxvZyBmb3IgdGhlDQo+PiAiS2lsbGVk IiwgdGhhdCB3b3VsZCBhdCBsZWFzdCB0ZWxsIHVzIHRoZSBzaWduYWwsIG1heWJlIG1vcmUu DQo+DQo+IEkgd2lzaC4gT25lIG1pbnV0ZSBiZWZvcmUgSSBzZWU6DQo+DQo+IMKgwqDCoCBK YW7CoCA0IDAxOjUyOjEwIHppbmMuZWUubGJsLmdvdiBrZXJuZWw6IDogcGlkIDIxMDA3IChj b25mdGVzdCksIA0KPiBqaWQgMzg0NSwgdWlkIDA6IGV4aXRlZCBvbiBzaWduYWwgMTEgKGNv cmUgZHVtcGVkKQ0KPg0KPiBidXQgSSBzZWUgYSBsb3Qgb2YgdGhvc2UgYW5kIEkgYmVsaWV2 ZSB0aGV5J3JlIG5vcm1hbCBhbmQgYXV0b2NvbmYgDQo+IHJlbGF0ZWQuDQo+DQo+IE9uIDEv NC8yNSAxMDo0NywgTWlyb3NsYXYgTGFjaG1hbiB3cm90ZToNCj4gPiBSZWR1bmRhbmN5IGlu IGNhc2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Gl0IG91dCBvZiBaRlMnIA0KZG9tYWluIGFu ZCBydW4gdGhlIHN3YXAgdG8gYSBiYXJlIEdQVCBwYXJ0aXRpb24gdW5kZXIgZ21pcnJvciBp bnN0ZWFkIA0Kc2ltcGx5IGJlY2F1c2UgWkZTIGNhbiBkZW1hbmQgYSBSQU0gYWxsb2NhdGlv biB0byBkbyB0aGluZ3MgYW5kIHN3YXAgDQpzcGFjZSBpcyBieSBkZWZpbml0aW9uIHNvbWV0 aGluZyB1c2VkIHVuZGVyIHNpZ25pZmljYW50IG1lbW9yeSBwcmVzc3VyZSANCndoaWNoIGlt cGxpZXMgeW91IGNhbiBuZWVkIGl0IHdpdGhpbiBaRlMgYW5kIG5vdCBiZSBhYmxlIHRvIGdl dCBpdC4NCg0KLS0gDQpLYXJsIERlbm5pbmdlcg0Ka2FybEBkZW5uaW5nZXIubmV0DQovVGhl IE1hcmtldCBUaWNrZXIvDQovW1MvTUlNRSBlbmNyeXB0ZWQgZW1haWwgcHJlZmVycmVkXS8N Cg== --------------9Kk00v0cuKnYdz8l4d0ClPVw Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 1/4/2025 16:11, Craig Leres wrote:<= br>
On 1/4/25 10:40, Peter 'PMc' Much wrote:
There might be a corresponding message in= the system log for the
"Killed", that would at least tell us the signal, maybe more.

I wish. One minute before I see:

=C2=A0=C2=A0=C2=A0 Jan=C2=A0 4 01:52:10 zinc.ee.lbl.gov kernel: : p= id 21007 (conftest), jid 3845, uid 0: exited on signal 11 (core dumped)

but I see a lot of those and I believe they're normal and autoconf related.

On 1/4/25 10:47, Miroslav Lachman wrote:
> Redundancy in case of disk failure. I've seen many disk failures over
> the years, and when you have a swap concatenated from partitions on 2
> disks, the whole system mirrored on 2 disks, and 1 disk fails, the
> system crashes. That's why we've always used swap over gmirrored
> partitions. Then we can pull out one disk when system is running and
> replace it with a new disk.

This. And in my case the system is located in a data center that I do not have casual access to so I'm happy to make the tradeoff in favor of system resilience.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Craig

That's a reasonable justification for mirroring the swap (despite the fact that you are then doing two I/Os on a write to it instead of one, albeit on different devices) but then I'd still get it out of ZFS' domain and run the swap to a bare GPT partition under gmirror instead simply because ZFS can demand a RAM allocation to do things and swap space is by definition something used under significant memory pressure which implies you can need it within ZFS and not be able to get it.

--
Karl Denninger
karl@denninger.net
The Market Ticker
[S/MIME encrypted email preferred]<= /div> --------------9Kk00v0cuKnYdz8l4d0ClPVw-- --------------uD1A7AWtrczYDRvtHzHSoIW0-- --------------COoynfxEMPq2qq1qTL6ggZ7E Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEvWWSxnGhSYSUSaCtby3AFeuPWXgFAmd5rOYFAwAAAAAACgkQby3AFeuPWXiz HxAAoq4RU8fKYV/fBiu2hS4qcwBt5ZvCDAj+RTRYzopEQu/AKwRzRrB/LexBIEzV6ZgrDc3L/V3L pnNCp1uH4uKnndHcI2cFK79lJGoj8Yext++DtVSDgc9BmlNABZFdxU8/rqqUAyxA3YM7rHvQqpsy dGRudOhpjUQActtxrtAAQ81XeTT/kAxoAjNkMG+hQvgGTB+x8z2cMpqXZQETcao8nOldoO6E8LeZ 6mEdWKNqotewglUFklTlmDo8wyBnBp4P09cqQV+u5ObnOQEx5mlNI1OHIhiat+DWNRFx3VDdahB4 cEazzlSgfZT/t33S/zqS6IhLp7fI3qptFRC404XSB3oWFmFvrNiHs2PgsMHxC07OwIX76kplozCd 4EfeKrB37xGx1Am8AN86jsGPaOv0U97ljsQeNc/ssd2JWI0PVzDkldxwnJqshU6xtJhIu1w4qck+ J+lnbtR2yrQtiMmS0/TjU/gGIeWC2udfsBJ7mdvD0C8aoig6tGBJgBbP61i2y/WNVUprSDHhjN+P fbA4hy76aFJUV602GFlXv622wS+7iUqGB56V+BizJWGtq4iZUizcvLe/scwhqmsNQjSMyT9s3irP If0RWZHAbBKEhkvIIecan5AE8QFtu1oPFx7qCYYUzjWtKufSNpliZuYgmaJSTMZLrjtuYoOdnoSw unA= =qwEc -----END PGP SIGNATURE----- --------------COoynfxEMPq2qq1qTL6ggZ7E--