From nobody Fri Apr 22 20:39:15 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C7CA6199967B for ; Fri, 22 Apr 2022 20:39:24 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KlR8q4hNlz3nRS for ; Fri, 22 Apr 2022 20:39:23 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 75BE55C02A4 for ; Fri, 22 Apr 2022 16:39:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 22 Apr 2022 16:39:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h=cc :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1650659957; x=1650746357; bh=bFTE5gjJQB T2aqhU0NawXR2qJvU02P2V8r8UvuUdGFs=; b=H7RBDksO1apdENBEJPeibKIvDY sG+oHGqPUcmUlTtA2p6DHO02bVo7lTszS17XA73VBxFf8WQI3l97q24ZTkI/y+K8 iFVtWZV/11htzEPRuFWh4jHC0jmJ6EPDK5h+APrcBsBXLrAAC9hWCT0XvzX2X+i9 8e9zr+CLqBOv6TEz8I8Lu+YFJlJBus5KbmJXJ+Hef/SwCzQGUqBH2ppn29EWIwzK heBzx1EYBrY2NKkftE8evi2pAos7DtBNE+HR33Gl+GIPv91zKBEPE/iladdw+iQL 1QyDL0+y84XpEyH1o911hNpWFfROHAp7FyQS7RgvHC4CruSCgQzFKNShjNUg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1650659957; x= 1650746357; bh=bFTE5gjJQBT2aqhU0NawXR2qJvU02P2V8r8UvuUdGFs=; b=E 4mMWBAeAxiTOnV+gvLFEprm9hksZSBi4BweiGFUdzT09o1hZsEyLGcSBRlniQPl3 SxyP0Q1tfgMuhnQaYMNcajMsqyr440uyEjXlctYrgK505L+Ex3n1fUbkzIXvCdpg QlkFvxCl5thyiNDascocPU3Ge4nCHAz8LGASngAVkmwF6Kgaym+lhsGb/oTVvYDK n3tB1mVufK/i86lySS++Kqx8oCHy7dpVk8t04G9ziJyo4LeTbWflBCUg35snOCYZ ZEBPHG+FiQupB1w6ct0urcpQFHNdY21FEcMbR0mLOavReJv830G2jC3jiVn+diPf BGqoJS14FiYGVDxs6oGkQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrtdeggdduheduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtudenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpeevffeujefggefhfeekudetvdehtd ehudfgffeigeefveefheegvddvtdehffeljeenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehtvggthhdqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 22 Apr 2022 16:39:16 -0400 (EDT) Date: Fri, 22 Apr 2022 21:39:15 +0100 From: tech-lists To: freebsd-current@freebsd.org Subject: Re: Chasing OOM Issues - good sysctl metrics to use? Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LPEGaSQsH9s0WkY8" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4KlR8q4hNlz3nRS X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm2 header.b=H7RBDksO; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="E 4mMWBA"; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.29 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.68 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.99)[-0.991]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm2,messagingengine.com:s=fm1]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[zyxst.net]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; MLMMJ_DEST(0.00)[freebsd-current] X-ThisMailContainsUnwantedMimeParts: N --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--