Re: Memory blackhole in 11. Possibly libc.so.7?

From: Allan Jude <allanjude_at_freebsd.org>
Date: Thu, 29 May 2014 12:21:37 -0400
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 <jhb_at_freebsd.org> 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
>>>>
>> <SKIP>
>>>>
>>>> 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?)
>>>
>>> -- 
>>> John Baldwin
>>
>> Aren't ZFS buffers accounted as kernel wired memory? 
> 
> Ah, yes, using ZFS this might be "normal".
> 

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


-- 
Allan Jude


Received on Thu May 29 2014 - 14:21:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:49 UTC