Memory usage appears a bit high

Steve O'Hara-Smith steve at sohara.org
Wed Jan 16 18:11:56 UTC 2019


On Wed, 16 Jan 2019 12:46:39 -0500
"James B. Byrne" <byrnejb at harte-lyne.ca> wrote:

> 
> 
> On Wed, January 16, 2019 12:36, Steve O'Hara-Smith wrote:
> > On Wed, 16 Jan 2019 12:31:14 -0500
> > "James B. Byrne via freebsd-questions" <freebsd-questions at freebsd.org>
> > wrote:
> >
> >> We have an Cyrus IMAP service running on a BHyve FreeBSD-11.2p7 vm.
> >> It has 4 Gb allocated.  I have noticed that top reports this:
> >>
> >> Mem: 164M Active, 204M Inact, 22M Laundry, 3426M Wired, 111M Free
> >
> > 	Are you running ZFS ? If so then most of the wired memory is
> > probably ARC.
> >
> 
> Yes, we are running the vm using zfs.
> 
> ARC: 2432M Total, 451M MFU, 1683M MRU, 8480K Anon, 38M Header,
>      252M Other
>      1828M Compressed, 3768M Uncompressed, 2.06:1 Ratio

	The ARC - ZFS cache is always in wired memory because it's kernel
space buffers and it does have a tendency to eat all the memory it can get
unless you constrain it by setting vfs.zfs.arc_max sysctl.

-- 
Steve O'Hara-Smith                          |   Directable Mirror Arrays
C:\>WIN                                     | A better way to focus the sun
The computer obeys and wins.                |    licences available see
You lose and Bill collects.                 |    http://www.sohara.org/


More information about the freebsd-questions mailing list