r273165. ZFS ARC: possible memory leak to Inact

John Baldwin jhb at freebsd.org
Tue Nov 11 19:28:44 UTC 2014


On Wednesday, November 05, 2014 4:52:50 am Andriy Gapon wrote:
> On 04/11/2014 14:55, Steven Hartland wrote:
> > This is likely spikes in uma zones used by ARC.
> > 
> > The VM doesn't ever clean uma zones unless it hits a low memory condition, 
which
> > explains why your little script helps.
> > 
> > Check the output of vmstat -z to confirm.
> 
> Steve,
> 
> this is nonsense :-)  You know perfectly well that UMA memory is Wired not 
Inactive.

Grab the code at www.freebsd.org/~jhb/vm_objects/.  Build and load the kld and 
then use the vm_objects binary to generate a list of the active VM objects in 
the system along with counts of how many active / inactive pages each object 
contains.  For your case with lots of inactive memory, you probably want 
something like 'vm_objects | sort -n -k 2'.

-- 
John Baldwin


More information about the freebsd-current mailing list