From owner-freebsd-current@FreeBSD.ORG Thu May 29 14:39:58 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2692733 for ; Thu, 29 May 2014 14:39:58 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id CBF942104 for ; Thu, 29 May 2014 14:39:58 +0000 (UTC) Received: from [10.1.1.1] (S01060001abad1dea.hm.shawcable.net [50.70.146.73]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 92CDA7B4BF for ; Thu, 29 May 2014 14:39:57 +0000 (UTC) Message-ID: <538746BF.7030403@freebsd.org> Date: Thu, 29 May 2014 10:39:59 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: Memory blackhole in 11. Possibly libc.so.7? References: <1401356463384-5916161.post@n5.nabble.com> <201405290908.10274.jhb@freebsd.org> <20140529095722.1765ce36@kan> In-Reply-To: <20140529095722.1765ce36@kan> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dVenEAlPaiWfNH5xGXKNGlerqc2Qs36Et" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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: Thu, 29 May 2014 14:39:59 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dVenEAlPaiWfNH5xGXKNGlerqc2Qs36Et Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-05-29 09:57, Alexander Kabaev wrote: > On Thu, 29 May 2014 09:08:10 -0400 > John Baldwin wrote: >=20 >> On Thursday, May 29, 2014 5:41:03 am Beeblebrox wrote: >>> uname: FreeBSD 11.0-CURRENT #0 r266393M: Sun May 18 13:04:00 2014 >>> amd64 I'm also loading the Radeon_kms modules >>> > >>> >>> I don't know if the lsof dump in single user mode will be of any >>> help, but it seems like lib/libc.so.7 has something to do with it: >> >> >> Why do you think libc.so.7 has anything to do with this? wired >> memory is usually only allocated in the kernel, so if anything you >> are looking at some sort of memory leak in a driver (maybe the radeon >> driver?) >> >> --=20 >> John Baldwin >=20 > Aren't ZFS buffers accounted as kernel wired memory?=20 >=20 > -- > Alexander Kabaev >=20 Yes, the ZFS ARC cache is counted as wired memory. You might want to consider setting a lower vfs.zfs.arc_max in /boot/loader.conf The default is all memory less 1GB, or 95% of memory, whichever is more, and this is likely too high for your usage case. It is infact too high for every use case except a server that does nothing but act as a file server. --=20 Allan Jude --dVenEAlPaiWfNH5xGXKNGlerqc2Qs36Et Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTh0bDAAoJEJrBFpNRJZKfgtYP/RfyoLMesoZ8tOhCYq2naDaY ZsQJmN+NRRvUwkEAt/ImzygUj80Ls0BTxZxLLcJN1G5B3ApXTLUVGpB5gSoiVY8c jsarcLHdKPlSr54BJE0bHnKU+MdvP6gk/4I2qUjETPUNrMigVkFB+QdacYrF6NIT AnFq+jw+sGx9FrcyvhP8IiBlc0OfUqxcVscPoX3yFjyptoV0fTL0Ef+6AmOe+YAr I9MRk72Bh3UNovwJTqKyBhxS4LK+O9vT6drE8z4C7Eb6t2FVM4RlGM8ry0h9tEeA 3H91iId6IPRathd5k8RelqjDqew+QpXhq/7G4fGEKoS9mTQIJbOP6eiEmv+bVuQz A1uYAUvOhHsGh/mLAz/U0VchkWk5oE3e0GEoYVCT5WmPkQvUOWZesdt7huMayIKl il9kuKykNyyujNK/OB4E3E/mddY4vy1rJ52a9vT55eO5KgOtQ+M2lwyW2BkcPZ/s JKKryDrn3r+UHUyorlQWJsZZ+/ySy7VB0wfccCeHFY/leyWLfnZCgBTM5XkjSqyu S+S/HQua7rZ4+/0ToHHLlHi4tRLg2g6U/gtVGijw5qqaYk2+tWh8sYNGReVQVjpL oPZpcMXwA+8S0GpC2yR8yuw49Wv0T8ERePbD+ux3iEmwqHytyVyYXBHNMl9fqYHh kcNNXThK631TbQxgkqVE =t4Eq -----END PGP SIGNATURE----- --dVenEAlPaiWfNH5xGXKNGlerqc2Qs36Et--