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

From: Allan Jude <allanjude_at_freebsd.org>
Date: Thu, 29 May 2014 10:39:59 -0400
On 2014-05-29 09:57, 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? 
> 
> --
> Alexander Kabaev
> 

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.

-- 
Allan Jude


Received on Thu May 29 2014 - 12:39:58 UTC

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