From owner-freebsd-current@freebsd.org Sat Sep 14 06:14:59 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 80C75E8FB4 for ; Sat, 14 Sep 2019 06:14:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-1.consmr.mail.bf2.yahoo.com (sonic303-1.consmr.mail.bf2.yahoo.com [74.6.131.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46Vj0L2qYlz4ZJ2 for ; Sat, 14 Sep 2019 06:14:58 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 2CDQbBUVM1kB8cZRdmfDXalU5zBJAVMcClER97ud17rlTarm9uOuRKQD6KXGrOI svjQzNla8SdUD12RjmNOmGMtyfTlzC3wu3NpawZiCg3OT.s_JJwM5S69_V6iu4r6J7ROjfKTpyEG CzK07I7Hg3f.NW2gtNycgh_cwogv45UyRqs17EuLXXK6xISr_NgpuAkD1ZjjRQcaaFJFpyZsnYyd bJbcciPIx4PnhGvAyv34y_YDt1ny0FAQWPJBuKU0WghoIT5L37kZ4w1ywLye1Cf97KcqH6pFJajT X7XdFWZ1r2rE_pyCE_ttxecEBgFt2scAt1F8qnwHNIr2d6KJuT7.Okp1scMw5B54zGOLibXjdFc3 VDyvqz5D9wIrAqzc_HkdNOp115cq_830suQ2Lu01_Bz3bdbO6GPAawSoR.uT9H.BZwBpaaYYlmmG oeV1qyEImtnVfJ0rpwM.qmDoCKVnXyZTo1XDbzxhuLXT82VFEqa5TUZPQT2GuhMZNsZEIGiG.gy9 9oUxmjVzmPABBFFL9.BcDNkh0_.8F4W06VOtZzO0cScaVymsViBW4r0wTTedAKHc28wp9MLIbdlJ GArj3VOrJTOPSB1cidDmPbavCUlSkEqN1epsdcw37mXxMyTdRUte9FKa3BQ.dy_86xe6PCJ2kpDp DXfIuEZ_MAHu9IuhorbYLUUrwMxFmlV1_0SfgvmrX6xVKamnX2pslULj4NahCJvpnm6XIC.Yej2N C1vaZD8t1tc.B6WMgL_6hEtfRxhLoGZ83.EAAQ8ujXI1ghV8.LQTcUSBUB7ubQ4o9dHmZpNWGlSB qICcHqXRaoAx0HqmDbyGafDImdCIKFffApe5YAoEMaIyPwED9o2hUeDdH0jolAwxGaQPM1lGjjLf N_nmdP.q4uWtYWkv9vw9YFyJgJ6O3ynWpBwXhZLEvRcKkg4Vj9mOohiXgLjn3wYTazW6GwElPeif Py1zsWl5NNKCb2iG2H_LUJERaAJjpKZ4PyBQHJFj.GMmsYw7dir8lsXdtiAjszrGVNlNaP9cVqxO nfj.xLtZp1dfAs1apnAgJMdZqt7Ng4_bgNI.tsTQUQ4ptUbVzEPFldOY1Uv0JaOLC6_PO2WI5_eS taHBejvi7D9yCaztZksT2UxOCzn1VyM6h.uHNB3HrUjCjIijKKEn2JPVthifnZsYN7AQ2ZlPxQqK _f5EYy48FfxE.x3ii_uue6CsPzXBk2jGoVnDxLnn6sX5SwdZf7.e0WgFM.TQ_Ph36N_ZbUju5q2O GzYEKOTqQ0pfeUrUib3e7pmopL5P0GMe3bWHfkwh6kwrFevHPINA8_O_nFLM- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.bf2.yahoo.com with HTTP; Sat, 14 Sep 2019 06:14:57 +0000 Received: by smtp426.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 73493a2f06f187fec621f15ed484febd; Sat, 14 Sep 2019 06:14:53 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: spurious out of swap kills Message-Id: <9A2342FC-D168-485A-9918-0109F9CD1646@yahoo.com> Date: Fri, 13 Sep 2019 23:14:50 -0700 To: " truckman@freebsd.org " , FreeBSD Current X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 46Vj0L2qYlz4ZJ2 X-Spamd-Bar: / X-Spamd-Result: default: False [0.65 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; 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:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-0.08)[-0.075,0]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (3.46), ipnet: 74.6.128.0/21(1.45), asn: 26101(1.16), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.23)[0.230,0]; RCVD_IN_DNSWL_NONE(0.00)[40.131.6.74.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Sep 2019 06:14:59 -0000 Don Lewis truckman at FreeBSD.org wrote on Thu Sep 12 23:00:19 UTC 2019 : . . . > Nevertheless, I see these errors, > with rustc being the usual victim: >=20 > Sep 11 23:21:43 zipper kernel: pid 16581 (rustc), jid 43, uid 65534, = was killed: out of swap space > Sep 12 02:48:23 zipper kernel: pid 1209 (rustc), jid 62, uid 65534, = was killed: out of swap space . . . Unfortunately, the wording of this type of message is a misnomer for what drives the kills: it is actually driven by being unable to gain more free memory but FreeBSD will not swap-out processes that stay runnable (or are running), only ones that are waiting. Even a single process that stays runnable and keeps lots of RAM in the active category can lead to kills when swap is unused or little used. So the kill-behavior is very workload dependent. Real "out of swap" conditions tend to also have messages similar to: Aug 5 17:54:01 sentinel kernel: swap_pager_getswapspace(32): failed If you are not seeing such messages, then it is likely that the mount of swap space still free is not the actual thing driving the kills. Are you seeing "swap_pager_getswapspace(32): failed" messages? (It used to be that the system simply leaves the dirty pages in memory when a swap_pager_getswapspace failed message is produced. Of itself, it did not cause a kill. I do not know about now.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)