From nobody Sat Jan 04 18:40:45 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 4YQTsT3TkCz5j8HY for ; Sat, 04 Jan 2025 18:45:33 +0000 (UTC) (envelope-from li-fbsd@citylink.dinoex.sub.org) Received: from uucp.dinoex.org (uucp.dinoex.org [IPv6:2a0b:f840::12]) (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 (2048 bits) client-digest SHA256) (Client CN "uucp.dinoex.sub.de", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YQTsR16HHz44Sr for ; Sat, 4 Jan 2025 18:45:31 +0000 (UTC) (envelope-from li-fbsd@citylink.dinoex.sub.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of li-fbsd@citylink.dinoex.sub.org designates 2a0b:f840::12 as permitted sender) smtp.mailfrom=li-fbsd@citylink.dinoex.sub.org; dmarc=none; arc=pass ("uucp.dinoex.org:s=M20221114:i=1") Received: from uucp.dinoex.org (uucp.dinoex.org [IPv6:2a0b:f840:0:0:0:0:0:12]) by uucp.dinoex.org (8.18.1/8.18.1) with ESMTPS id 504IjAQA090354 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 4 Jan 2025 19:45:10 +0100 (CET) (envelope-from li-fbsd@citylink.dinoex.sub.org) ARC-Seal: i=1; a=rsa-sha256; d=uucp.dinoex.org; s=M20221114; t=1736016313; cv=none; b=mU5SfgKctCwTw8w0MpFmTpFEPqjAng56QYkfLWHsudfG+KqJzo2alNPTOOjz3wqeyZHoUK09/BBLmOzXW5MM0KFRDnXkAHWNU0ZBmDOqx8izzL67N8Y9yBCqulldUfSwER4Pb1Pe6FdHgUrU6Vk/hQcZTCczkoFT9TjECmtnkSQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=uucp.dinoex.org; s=M20221114; t=1736016313; c=relaxed/simple; bh=l4GQZ3cG9pfW2GtV/3jmGQK5rJZ6NX06apFBWrE+Ifc=; h=Received:Received:Received:X-Authentication-Warning:From: X-Newsgroups:Subject:Date:Message-ID:References:Injection-Date: Injection-Info:User-Agent:To:X-Milter:X-Greylist; b=bPlGuVVwdnlOIEFF+Z+V6/YyN0xlJqapprvtMxJ6/B012+MKGFedQu0DFJeryow0XJaG/1vhle09sxYtZW+ci5x+kBt81FuN4ZBtKcZwRBFjGGRuNrITK5pIayhlOVKs0/+1dADF1PmVzrXBpSdy4eRH/rtja3kMIaIuzYALevw= ARC-Authentication-Results: i=1; uucp.dinoex.org X-MDaemon-Deliver-To: Received: (from uucp@localhost) by uucp.dinoex.org (8.18.1/8.18.1/Submit) with UUCP id 504IjAGG090353 for freebsd-hackers@freebsd.org; Sat, 4 Jan 2025 19:45:10 +0100 (CET) (envelope-from li-fbsd@citylink.dinoex.sub.org) Received: from admn.intra.daemon.contact (localhost [127.0.0.1]) by admn.intra.daemon.contact (8.18.1/8.18.1) with ESMTPS id 504Ielcm084938 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 4 Jan 2025 19:40:48 +0100 (CET) (envelope-from li-fbsd@citylink.dinoex.sub.org) Received: from intra.daemon.contact (news@localhost) by admn.intra.daemon.contact (8.18.1/8.18.1/Submit) with NNTP id 504IejnF084766 for freebsd-hackers@freebsd.org; Sat, 4 Jan 2025 19:40:45 +0100 (CET) (envelope-from li-fbsd@citylink.dinoex.sub.org) X-Authentication-Warning: admn.intra.daemon.contact: news set sender to li-fbsd@citylink.dinoex.sub.org using -f From: "Peter 'PMc' Much" X-Newsgroups: m2n.fbsd.hackers Subject: Re: curious crashes when under memory pressure Date: Sat, 4 Jan 2025 18:40:45 -0000 (UTC) Message-ID: References: <9e71d8eb-74c3-4bcb-89b1-90d4f9746168@quip.cz> <33db3282-25c4-42fb-8d97-1918d52fa9e2@denninger.net> <4094b79b-c54a-4953-b693-1b4e8387cf9f@freebsd.org> Injection-Date: Sat, 4 Jan 2025 18:40:45 -0000 (UTC) Injection-Info: admn.intra.daemon.contact; logging-data="60808"; mail-complaints-to="usenet@citylink.dinoex.sub.org" User-Agent: slrn/1.0.3 (FreeBSD) To: freebsd-hackers@freebsd.org X-Milter: Spamilter (Reciever: uucp.dinoex.org; Sender-ip: 0:0:2a0b:f840::; Sender-helo: uucp.dinoex.org;) X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (uucp.dinoex.org [IPv6:2a0b:f840:0:0:0:0:0:12]); Sat, 04 Jan 2025 19:45:13 +0100 (CET) X-Rspamd-Queue-Id: 4YQTsR16HHz44Sr X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; ARC_ALLOW(-1.00)[uucp.dinoex.org:s=M20221114:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; FORGED_SENDER(0.30)[pmc@citylink.dinoex.sub.org,li-fbsd@citylink.dinoex.sub.org]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_XAW(0.00)[]; ASN(0.00)[asn:205376, ipnet:2a0b:f840::/32, country:DE]; FROM_NEQ_ENVFROM(0.00)[pmc@citylink.dinoex.sub.org,li-fbsd@citylink.dinoex.sub.org]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[sub.org]; RCVD_TLS_LAST(0.00)[]; TO_DN_NONE(0.00)[] 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 On 2025-01-04, Craig Leres wrote: > On 1/4/25 09:36, Karl Denninger wrote: >> What's the argument for swapping to a mirror in the first place? If the >> issue is throughput IMHO the answer is to swap to multiple devices. > > I thought the idea here is if your swap is not redundant and it goes > away the system crashes (or otherwise misbehaves)? > > I used a beefy poudriere build server (48 cores, 192G, 6 x 480GB nvme) > and I build > 1000 packages daily. I see lots of build failures (usually > 2-3 a week) but instead of core dumps I see "Killed" in the poudriere > logs. Appended is one from today. (Not sure what's up with the symlink > failure at the very end...) There might be a corresponding message in the system log for the "Killed", that would at least tell us the signal, maybe more. I am doing this on my temporary building bhyves: echo "vm.panic_on_oom=1" >> $tempdir/etc/sysctl.conf echo "vm.pageout_oom_seq=5120" >> $tempdir/etc/sysctl.conf echo "vm.oom_pf_secs=180" >> $tempdir/etc/sysctl.conf echo "vm.pfault_oom_attempts=-1" >> $tempdir/etc/sysctl.conf https://gitr.daemon.contact/sysup/tree/subr_virt.sh#n148