From owner-freebsd-current@freebsd.org Tue Mar 3 10:42:06 2020 Return-Path: Delivered-To: freebsd-current@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 E393C26B70A for ; Tue, 3 Mar 2020 10:42:06 +0000 (UTC) (envelope-from kp@krion.cc) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48Wtqd5jNCz4Hgs for ; Tue, 3 Mar 2020 10:42:05 +0000 (UTC) (envelope-from kp@krion.cc) Received: by mailman.nyi.freebsd.org (Postfix) id 2E28626B709; Tue, 3 Mar 2020 10:42:05 +0000 (UTC) Delivered-To: current@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 2D6DB26B708 for ; Tue, 3 Mar 2020 10:42:05 +0000 (UTC) (envelope-from kp@krion.cc) Received: from krion.cc (krion.cc [148.251.235.209]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48Wtqb0rdKz4HcL; Tue, 3 Mar 2020 10:42:02 +0000 (UTC) (envelope-from kp@krion.cc) Date: Tue, 3 Mar 2020 11:41:54 +0100 From: Kirill Ponomarev To: Mateusz Piotrowski <0mp@freebsd.org> Cc: current@freebsd.org Subject: Re: Wired memory consumes almost all my memory recently Message-ID: <20200303104154.GB29722@krion.cc> References: <6b9eba37-0866-fda6-4dd8-205eb3d77458@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qlTNgmc+xy1dBmNv" Content-Disposition: inline In-Reply-To: <6b9eba37-0866-fda6-4dd8-205eb3d77458@FreeBSD.org> X-Rspamd-Queue-Id: 48Wtqb0rdKz4HcL X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kp@krion.cc designates 148.251.235.209 as permitted sender) smtp.mailfrom=kp@krion.cc X-Spamd-Result: default: False [-6.66 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[krion.cc]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-2.26)[ip: (-9.88), ipnet: 148.251.0.0/16(0.13), asn: 24940(-1.56), country: DE(-0.02)]; RCPT_COUNT_TWO(0.00)[2]; SIGNED_PGP(-2.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:24940, ipnet:148.251.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2020 10:42:07 -0000 --qlTNgmc+xy1dBmNv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 03/03, Mateusz Piotrowski wrote: > Hi current@, >=20 > I'm experiencing some problems with memory on r358410. >=20 > I'm building a lot of ports in poudriere for testing purposes, which is v= ery > a resource-intensive operation. After a couple of hours of such a workloa= d, > the machine starts to become much less responsive (e.g., it takes a couple > seconds to start a new tmux pane). When I run top I would always see that > almost all my memory is wired (15G), swap reports a couple of hundreds > megabytes being used, and the free memory is less than 100M. >=20 > If I kill all my desktop processes like Firefox and Thunderbird (it takes= a > couple of minutes to complete this task!) then the machine becomes > responsive again, still having maybe a couple hundreds of megabytes of fr= ee > memory for me. >=20 > I thought that maybe this is an ARC problem (I'm using ZFS) but it didn't > help to restrict ARC to 8G by setting sysctl vfs.zfs.arc_max=3D8517738496. >=20 > I think that I've never experienced similar problems before. Please try r358505, it should be fixed. --qlTNgmc+xy1dBmNv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEJCHRFhEAQujKni1pDyI9/LMCykUFAl5eNHIACgkQDyI9/LMC ykXXEwf6A7kHsDO9dOqXSWeLjE6C0Al6q2Q0OUT0A/fOMbQ5ogSEVT4MMuIvrimq tWDG+x/9GdjVSgmC6/fmclQb64UL5oK9sHSTblW7ypMSMq5YcMRdAqFLBhq4Ofbg wX0kWVoFQbP6AVlm1WBqi0CGxpDiJNE4eLHSFgMMn+3fgH0FPN3DW6IIjqHVtp13 PZw5ruvkRMAwS55wRnnjAUCajk5x16X8BEEwFHLe3PRMsL3WTCJbccpjk+bmgLWp bXvZt9K9FgZUToSFA9CiJf+uiReHM5a7/1SSThRQKVUXdOZMV6s1Oh9C9yrk4+I0 fLSOqX2JoC+OxMmhN6AvDLnu4utWdQ== =o95Z -----END PGP SIGNATURE----- --qlTNgmc+xy1dBmNv--