Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jul 2020 22:18:35 +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:  <20200726151835.GA35966@admin.sibptus.ru>
In-Reply-To: <20200726093909.ee5e14e643d31da4dad5c804@sohara.org>
References:  <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> <20200726063256.GA22924@admin.sibptus.ru> <20200726093909.ee5e14e643d31da4dad5c804@sohara.org>

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

--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Steve O'Hara-Smith wrote:
>=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
> 	What else would you have it do ?  Kill the largest process ? Kill
> the last process to call malloc ? There is no good response to OOM. The OS
> has no way to know which processes you care about most.

AFAIK the Linux OOM killer uses multiple weighted criteria to decide
which process to kill. Each process has an oom_score showing its
eligibility to be killed.

So at least Linux attemps intelligent killing. What about FreeBSD?

--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

--VbJkn9YxBvnuCH5J
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJfHZ7LAAoJEA2k8lmbXsY0Ff0IAJ1/CtC8LeWyBnsTao0i+YcD
adAKSs1/WbqJ/hW/vEgNPHhbfENuFEqB2FoKeE4DTboqTo2xFBeRoJXqyobOF8wA
THKjzEWbCSiKAyO+nn19LwixiwuOx8LDrI/8R2SJZKHujmbC503Sm1cDR7wvjqp2
TTLSjH4gSbOwmv41QIYhn8EVERKd6dy0LYe0J1mBfrfi4ND8uGQ81d0XhVcgYhe7
4VyUu+2KWsfg7XAPo9CnDBNf9+tlMnsZjqSsZHPm9fnImve2ggbdku0sYuMJHodj
gsDj6KpGymDpwx19VM9qI8cV/V6qaKiN1vny5167+C8AoPhrzghPnOSYf019WcU=
=cWP+
-----END PGP SIGNATURE-----

--VbJkn9YxBvnuCH5J--



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