From owner-freebsd-questions@freebsd.org Sun Jul 26 06:33:04 2020 Return-Path: Delivered-To: freebsd-questions@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 07A3337DE29 for ; Sun, 26 Jul 2020 06:33:04 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BDtRL6wKyz48qW for ; Sun, 26 Jul 2020 06:33:02 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=w0qenGRNRzoWpa4F7AeWkczVSBHI39uU264FI2XzSgE=; b=MPFRLIUKPIESGYj1PbiPMzZkd9 ZgDVQUlQ3j2Ux7dQ/kq358lQGVuTUalIrYqWiocdZNEq8kujHTaoNBtMCiGk/yk4Da70ysdrcMryf 4JW+Kqq9eEI9D7CBAve5UV7bvN7Xcbyx3e3nyY2pXwlV27ceK+rMLOhSvzXr4HwKuL6k=; Received: from vas by admin.sibptus.ru with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1jzaDQ-0006ih-Bl for freebsd-questions@freebsd.org; Sun, 26 Jul 2020 13:32:56 +0700 Date: Sun, 26 Jul 2020 13:32:56 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Ask stupid questions and you'll get a stupid answers, was: Technological advantages over Linux Message-ID: <20200726063256.GA22924@admin.sibptus.ru> References: <6318251A-973A-4DEC-9271-12333EB11F7B@kicp.uchicago.edu> <20200725152412.GJ92589@admin.sibptus.ru> <20200725162403.GA4721@admin.sibptus.ru> <20200725182554.deffc63058a7c9f6d343ef06@sohara.org> <04df312d-9b2b-1873-2117-79a49e089bd9@kicp.uchicago.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: <04df312d-9b2b-1873-2117-79a49e089bd9@kicp.uchicago.edu> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 4BDtRL6wKyz48qW X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=MPFRLIUK; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-5.81 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.025]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.012]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; NEURAL_HAM_SHORT(-0.67)[-0.669]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2020 06:33:04 -0000 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Valeri Galtsev wrote: >=20 > Incidentally, I've got question for experts. How "Out Of Memory" situation > is handled by FreeBSD. I only dealt with [memory] "leaky" things under > Linux, and OOM killer there really does its job well (and its way of > judgement I do know). I'm not an expert but I'm unimpressed with the way FreeBSD handles an OOM situation on a desktop. I have a FreeBSD desktop PC at home which is always under memory pressure: Xfce, my Firefox, my wife's Firefox with lots of tabs, several bhyve guests, a SMB server and other stuff. So the "swap_pager_getswapspace(11): failed" situation is rather frequent.=20 FreeBSD freezes, then kills some innocent random processes like local_unbound, then it may slowly recover. Sometimes it guesses correctly and kills the offender (firefox most often). --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJfHSOYAAoJEA2k8lmbXsY0jB4H/2iYypfJ+zx9hDAaXRnbx0zy LMmnVVjP74EREm5gK2TZ6j8f6oGl1c/8I53okFteZ9n5aZn16jbT4+DqgO2M3U6l ytyZsM1JW5CVAcDgQPXLBz0BG7kjy4dgOiNZx3LvML0YUC1cKr50j5CapGGr4Ick NZRCcZlvOPMIWYw0N0ltqzmXuW46OWvgu6qXe2wHU1g5RJJkVdkEaUaWYJlTqbmo HdbrD8vnVfnBD7lVAALXEqRDrjggvw544We6LQblbAHCJNbgrPp6/C+cFvjabh+H a+CWohmIzvVmL9bMr1k+xTNw7eSDWLH/4rg+AmxVf1rOHjVXgJUna8PRPs0s8bY= =WX1q -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z--