From owner-freebsd-current@FreeBSD.ORG Thu May 29 16:21:37 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 648FA7A7 for ; Thu, 29 May 2014 16:21:37 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 3DE8B2B35 for ; Thu, 29 May 2014 16:21:36 +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 5D8F37B9E0 for ; Thu, 29 May 2014 16:21:35 +0000 (UTC) Message-ID: <53875E91.1080002@freebsd.org> Date: Thu, 29 May 2014 12:21:37 -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> <201405291204.02160.jhb@freebsd.org> In-Reply-To: <201405291204.02160.jhb@freebsd.org> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="O57MI7lRKQt0A8t6HQaWBAI2MNOAPluv7" 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 16:21:37 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --O57MI7lRKQt0A8t6HQaWBAI2MNOAPluv7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-05-29 12:04, John Baldwin wrote: > On Thursday, May 29, 2014 9:57:22 am Alexander Kabaev wrote: >> On Thu, 29 May 2014 09:08:10 -0400 >> John Baldwin wrote: >> >>> 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 >> >> Aren't ZFS buffers accounted as kernel wired memory?=20 >=20 > Ah, yes, using ZFS this might be "normal". >=20 sysctl kstat.zfs.misc.arcstats.size will tell you how much memory the ARC is using, it will likely be 'most' of the wired memory. 'top' gives a decent display as well: Mem: 8896K Active, 205M Inact, 5764M Wired, 1926M Free ARC: 2939M Total, 39M MFU, 2182M MRU, 1936K Anon, 136M Header, 581M Other= --=20 Allan Jude --O57MI7lRKQt0A8t6HQaWBAI2MNOAPluv7 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/ iQIcBAEBAgAGBQJTh16UAAoJEJrBFpNRJZKfPl0P/A5oVotYEVwyxamSYOYiURWT ZsmohAD64vR5wb+6XLhNVSBQdwNB38VIGOXWfeH2IKtZERsC4r1Si7MEnxypv8KN 8B8rxeyGb0Yl+HBl04smQdHJH4qhmA2FOoAQausgAxeIs+jMG/UBtYE1HyLhn1Na 3Vlty3JChQ8E1DsmgJOrG5PioJpUxUcn/yHEQLgvIJRSl8xEmmAKgHjps+9lOd3a kvAOw4Mzg5dujiApwQ93J4qmRSfAROYda6iSnFv2JwrUv544HW7DTlZWAw4K624y /rvdqyKAexNTpfDzikoL9wonzBw2aQeGcV4o+I9Q3YEvxTukj05C1h8Fhi6wNJqz +iiNTwrcTaawYeEPV97xrcGKGlTeddFcuYhPnhXtnAsZSAhA4IWPL7uSsroNsIb5 O/P+OP5IWcKeStCi7i5tafRQ+cvsxrvOwvxU+8KsswChWlTvJibUEehobAR8RNZJ TphVS0sNytfNJ2PKsZVsiow3umKDcu4I1js3pbH32o7RQwASsfwzT/EdO73KBiGt 42k5MRGkhnBRs1cz+i/ufN5r5LYhE4cM55LNKUWVSw03LOXpO5fEwy7RPERGRcUk gea4AkPurpSmHurDJxEgiA0o5XTO4Q6ze6Biomyrt8TAWUXntGBtIkcx2+Ly15DW O+NAL0U4lLQdAWnRg5El =fh41 -----END PGP SIGNATURE----- --O57MI7lRKQt0A8t6HQaWBAI2MNOAPluv7--