Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jul 2020 13:32:56 +0700
From:      Victor Sudakov <vas@sibptus.ru>
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>
In-Reply-To: <04df312d-9b2b-1873-2117-79a49e089bd9@kicp.uchicago.edu>
References:  <CAEJNuHxbFSPBB7keSrBufpg=RsgQ8EPK_fvzt8XBROLNKyN_sw@mail.gmail.com> <6318251A-973A-4DEC-9271-12333EB11F7B@kicp.uchicago.edu> <CAEJNuHxC7i%2Bq7cq65=my6mJZDdiK4gpQsKjMU1nvsm=Ri4On%2Bg@mail.gmail.com> <ce61b5e9-b71c-e5b7-c64d-f79884c87435@watters.ws> <20200725152412.GJ92589@admin.sibptus.ru> <CAGBxaX=Ktr-pqtT8FU37ajkYonVLYT_WhSenn23Tj5b=i0d-8g@mail.gmail.com> <20200725162403.GA4721@admin.sibptus.ru> <CAGBxaXmBZcCWqAZFR9OSyRGrqGFU%2BqCAZ8CfOi=0oXAmf-2=tA@mail.gmail.com> <20200725182554.deffc63058a7c9f6d343ef06@sohara.org> <04df312d-9b2b-1873-2117-79a49e089bd9@kicp.uchicago.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200726063256.GA22924>