From nobody Sat Apr 16 01:35:30 2022 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 7BBAA2DC38C for ; Sat, 16 Apr 2022 01:35:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-25.consmr.mail.gq1.yahoo.com (sonic311-25.consmr.mail.gq1.yahoo.com [98.137.65.206]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KgG3y6ZsZz4cxj for ; Sat, 16 Apr 2022 01:35:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1650072935; bh=rV5Kty4q97idp4GInQHRE+s+QGlTSQKtF0wwHBfgH80=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=PueqpPFPTD7QUNL7ABky/EbFU5DW7017yOD7YPoD+kqQCLF0apmPTTCfWx5ihQ2LgWyro2Vy6dwd6LgwQgnEpGM6twkjEHdvdwryDWbonewyATrJeR2R6Qx7KcbfHGxMTBhI2fE2/FZ3heGS/k1zPzg6i+d11OVaFziXt4krTSf563+g0DhVCf1D1SSR5AKDLUgtmz8s9Pw8AWBn3BczYX8imSRlTxyF4BQbodUDnDuLD0T4Fdl3a0ypyfE5N7oSboKq/kcbtkUYzcmaFWC/sAQ26uwIUR0SDdls9AMqlRgh996GNramX2shCH6QvjHZi//iQTYouWxU13oEwD1YxA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1650072935; bh=8YLra8jf8VBm1QGJiymQIspQlgGyqFl57sQerhri2Jm=; h=X-Sonic-MF:From:Subject:Date:To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PN9fcrdt1L.2IgRRU mfMbfN9t6ZST5eYp5WMD6p5jKafCKq4AAk6mL9jWhDdN8HIxTw59kYPUEdqjcaQwFx5xUr8m_lKs ryxbglMNtVveTvv36r85ST0kTgHjX._Ot4vGmE9GPNU8_EfApA1MvU759WwLSCcU55emjXdnLsnP VemUw9P4BWU4ZgP.Mtz0uVhWv13GD0VI9nMebavrZjcCdEiCdgSR3sU72IkkjfHq7xiuCsLHP71J 24ZSUtpKL2PH1DO6L1YQ4qQTe87DRirKxBZVM9Dad0Bl.CHflPcBTj9JGXhXMGoYg1LuCx8pQzVM pOwotTwdPRL4ivr4JaM6NyF5yOlHm5z523WjQ10PO3nlV8kLU16wUQRsALMD93AYtCym5JDlJ_TD QGOpN4o0GtFeHKLckeyYTwiRe4Y9_MxHX3E6I.QLRhGyuih8Ww1VwVRzDCepXAESTKs_ruZrruKd DluCxH6vL7TIWLPx8aifMWtd.iMIkXSVTGFp_bluSWW0MsYLINyvcgoUY38xTbudNaoBo9f.QjUl T9kt_s4ZlQyAq4OrJEw-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Sat, 16 Apr 2022 01:35:35 +0000 Received: by hermes--canary-production-ne1-c7c4f6977-vjx2m (VZM Hermes SMTP Server) with ESMTPA ID 6d4eee4abc24ca8a8c09e409d2b285a9; Sat, 16 Apr 2022 01:35:31 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Can not build kernel on 1GB VM Message-Id: Date: Fri, 15 Apr 2022 18:35:30 -0700 Cc: FreeBSD Hackers To: freebsd07@wayne47.com, Peter Jeremy X-Mailer: Apple Mail (2.3654.120.0.1.13) References: X-Rspamd-Queue-Id: 4KgG3y6ZsZz4cxj X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=PueqpPFP; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.206 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.65.206:from]; MLMMJ_DEST(0.00)[freebsd-hackers]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.206:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N From: Peter Jeremy =20 Date: Sat, 16 Apr 2022 10:25:23 +1000: > On 2022-Apr-15 13:49:53 -0400, Michael Wayne = wrote: > >I have a VM with 1GB RAM running FreeBSD 12.1-RELEASE-p3 > > > >I'm trying to upgrade the machine to 12.3 and having swap failures. >=20 > Are you using ZFS or UFS and are you swapping to a raw partition > or a file/zvol? Gad, why did I not think to cover that issue in my earlier note to freebsd07@wayne47.com ? Good catch. In bugzilla there is: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206048 comments #7 and #8 are related to the file/zvol issue. freebsd07@wayne47.com also indicates a VM context as well. > >the machine ran out of swap. with a bunch of messages like: > > Apr 15 12:11:26 g1 kernel: swap_pager: indefinite wait buffer: = bufobj: 0, blkno: 240593, size: 4096 > > Apr 15 12:11:35 g1 kernel: swap_pager: indefinite wait buffer: = bufobj: 0, blkno: 236224, size: 16384 > > Apr 15 12:11:37 g1 kernel: swap_pager: indefinite wait buffer: = bufobj: 0, blkno: 245, size: 12288 > > Apr 15 12:11:46 g1 kernel: swap_pager: indefinite wait buffer: = bufobj: 0, blkno: 240593, size: 4096 > > Apr 15 12:11:55 g1 kernel: swap_pager: indefinite wait buffer: = bufobj: 0, blkno: 236224, size: 16384 > > Apr 15 12:11:57 g1 kernel: swap_pager: indefinite wait buffer: = bufobj: 0, blkno: 245, size: 12288 >=20 > That message doesn't indicate "out of swap", I expect that the "killed due to out of swap space" message that was originally referenced (though not quoted) was of the structure: kernel: pid ???? (???), jid ??, uid ??, was killed: out of swap space That is the message type that I was reporting as being a misnomer when it is reported: the swap space available does not have to be low at all for such kills with such messages. > in indicates that your > swap device isn't responding within a "reasonable" time. If you are > swapping to a local ZFS file or zvol, you may be running into a known > deadlock condition and should switch to using a raw partition for > swap. If you can't improve your swap device performance, adjusting > the vm.pageout_oom_seq and vm.pfault_oom_attempts sysctls should > resolve the problem. freebsd07@wayne47.com later reported they did not help --but I do not know if a swap partition was what was being used or not. > A true "out of swap" will appear as a message similar to > swap_pager_getswapspace(nnn): failed Yea, there are 2 messages that are not misnomers: (Quoting from another list exchange that I had once, that in turn had copy/paste based text from an actual set of messages.) QUOTE Jan 5 21:04:31 r5601g kernel: swap_pager: out of swap space Jan 5 21:04:31 r5601g kernel: swp_pager_getswapspace(7): failed END QUOTE Neither of these messages are announcing kills. But if neither of these types messages have shown up, then any "was killed: out of swap space" message is a misnomer for the "out of swap space" part of the message. =3D=3D=3D Mark Millard marklmi at yahoo.com