Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2022 21:39:15 +0100
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-current@freebsd.org
Subject:   Re: Chasing OOM Issues - good sysctl metrics to use?
Message-ID:  <YmMSc0Vqq9gvC0ZX@cloud9.zyxst.net>
In-Reply-To: <c8412d52-cb28-4a98-45f4-c6f28591a5b8@nomadlogic.org>
References:  <c8412d52-cb28-4a98-45f4-c6f28591a5b8@nomadlogic.org>

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

--LPEGaSQsH9s0WkY8
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

On Thu, Apr 21, 2022 at 07:16:42PM -0700, Pete Wright wrote:
>hello -
>
>on my workstation running CURRENT (amd64/32g of ram) i've been running
>into a scenario where after 4 or 5 days of daily use I get an OOM event
>and both chromium and firefox are killed.=A0 then in the next day or so
>the system will become very unresponsive in the morning when i unlock my
>screensaver in the morning forcing a manual power cycle.

I have the following set in /etc/sysctl.conf on a stable/13 workstation.=20
Am using zfs with 32GB RAM.

vm.pageout_oom_seq=3D120
vm.pfault_oom_attempts=3D-1
vm.pageout_update_period=3D0

Since setting these here, OOM is a rarity. I don't profess to exactly know
what they do in detail though. But my experience since these were set
is hardly any OOM and big users of memory like firefox don't crash.
--=20
J.

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

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

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmJjEmkACgkQs8o7QhFz
NAWfsQ/9FRdkcoQfbT1NK3Fg4dphc7J4+6Sfv9bvQ0NYM3cfjQ2u/Y96Jm0CF0zN
DZq+TNM2QDk1P+oOUgqc8BrOebaAbVraQYKeB8kSjdk99OMYGgqLeJsrkpM5uE4f
OsvTEBCV/sWJx69GUAeXLLugMgB4J62bC6GMYehMBtAd+XTXtmTfoHXdZpRWIxDU
85dR2gnwS+YTLWpxDhTls8O26aWwi4lkOSnQ8H0CqPwOBMgRDmaGQVaze45wam3h
Xgywca4g7ROVjBJymuZ9XoON+qyOy468UVu8Hqu5HbsCg+LSMP4dE4z7Ew7ul//1
xe5AWBOaprHRuQrvTDIoITogDeV2P+ViFPbZsjXgLglHeTGsI0rGPXj3M3MJuor9
BrOUg2TFjieNdUXdYMYrwp8NsZMwOOQKbTxKxEkvr/na5UxIK/YS1vaCLmfIUbbR
LdXeub0xtkc3B3OPeaNmI2VROGtXw6Dy7Y8g1j639P0NU/4/tl9yuC61iT4qctAk
FzcmXjSA5EgrMtRcv0wIHVex5yNsgS36v3ftFNzKBiUo50/O+sVg/C7HZlPTdKGF
FN/UJxF4t94wuI/F1o89++tyi7DIfJWWRQv8dHoja4RtkHo5xYsdVetBLDIRaljn
uArYzJKvomBF+vurdRxjIrVV/7CfCZkUXQLIbDaIpwqHEKFlToE=
=FQCd
-----END PGP SIGNATURE-----

--LPEGaSQsH9s0WkY8--



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