From owner-freebsd-questions@freebsd.org Wed Jan 16 20:48:36 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EFB991495057 for ; Wed, 16 Jan 2019 20:48:35 +0000 (UTC) (envelope-from asv@inhio.net) Received: from cz-prg-mx-01.inhio.net (mail.inhio.net [178.238.36.226]) by mx1.freebsd.org (Postfix) with ESMTP id B681B86F79 for ; Wed, 16 Jan 2019 20:48:34 +0000 (UTC) (envelope-from asv@inhio.net) Received: from titanio (titanio.inhio.net [10.0.0.21]) by cz-prg-mx-01.inhio.net (Postfix) with ESMTPSA id 68CBC9CE9; Wed, 16 Jan 2019 21:48:24 +0100 (CET) Message-ID: <0e45aca3145587de3b6d0b46a35ef2e7adea37b4.camel@inhio.net> Subject: Re: ZFS devouring RAM in less than 2 days on FBSD 11.2 From: ASV To: Luciano Mannucci , freebsd-questions@freebsd.org Date: Wed, 16 Jan 2019 21:48:18 +0100 In-Reply-To: <43fHM11f4dz1ftYp@baobab.bilink.it> References: <84a3d2e071d6651e7e15afccdf29b9e0970fb056.camel@inhio.net> <43fHM11f4dz1ftYp@baobab.bilink.it> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-m93hO/C24dkTUZ3XO1Zs" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 X-Rspamd-Queue-Id: B681B86F79 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of asv@inhio.net designates 178.238.36.226 as permitted sender) smtp.mailfrom=asv@inhio.net X-Spamd-Result: default: False [-4.46 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.989,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[inhio.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mail.inhio.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.66)[-0.664,0]; SIGNED_PGP(-2.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:24971, ipnet:178.238.32.0/20, country:CZ]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.01)[country: CZ(0.04)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2019 20:48:36 -0000 --=-m93hO/C24dkTUZ3XO1Zs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for the reply. That's interesting. No I don't think either that the patch version makes any difference at all. So you have only 1 GB set to arc_max? How many filesystems do you have in the pool (or per pool)? On Tue, 2019-01-15 at 18:26 +0100, Luciano Mannucci wrote: > On Tue, 15 Jan 2019 17:38:36 +0100 > ASV wrote: >=20 > > my old server has 16GB of RAM and after less than 2 days 14GB are > > already wired. It seems to me that ZFS ignores completely the > > 'arc_max' > > parameter. > >=20 > > Anybody is experiencing the same? >=20 > No. After lowering the zfs.arc everything appears fine. Here are my > parameters: >=20 > vfs.zfs.arc_min: 536870912 > vfs.zfs.arc_max: 1073741824 >=20 > root@hermes:~ # uptime > 6:22PM up 6 days, 3:51, 2 users, load averages: 0.10, 0.12, 0.11 > root@hermes:~ # top > Mem: 108M Active, 9934M Inact, 7570M Wired, 1565M Buf, 14G Free > ARC: 2214M Total, 838M MFU, 1099M MRU, 32K Anon, 6073K Header, 272M > Other > 873M Compressed, 1064M Uncompressed, 1.22:1 Ratio > Swap: 8192M Total, 8192M Free >=20 > My version is still 11.2-RELEASE-p7. I don't think it makes a big > difference... >=20 > Luciano. --=-m93hO/C24dkTUZ3XO1Zs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEE5dE8BwbhhcQw2TsezaQsUNd+zIkFAlw/mJIACgkQzaQsUNd+ zImimwf+Ns1fqvsqcAYUy3KANNEkW4t8g3GAyf03kVxC63aWPUQnA+3S2NnPj9+O qjTeUhpnqAxp124apFOjRPBt9x7Ri8eGk0HemDiXC6ayHK5QwyvhNaHKx1Tsc6KT SgDgYvagzTzcsAoFL/9ixXjG1pZANDklQ6a1OEbKzO1k2GjzXMei/ZqjLG2gW6Zp BQuIltAELTcT+fZAnawXkQ4c3OF0IZ0RW2J2npPqiRiWLrrjGfmbrwR5OFjzpSjP TUUZcJT/DlTTD1UC/Y5qFYH3V6QkC4c8McXLctie4aid0vCUtQX5vmDWWFte1Mwn aPt80I7wKmeiHm/uky9slItFxz1y5g== =GDpi -----END PGP SIGNATURE----- --=-m93hO/C24dkTUZ3XO1Zs--