Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2019 18:11:46 +0000
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        byrnejb@harte-lyne.ca
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Memory usage appears a bit high
Message-ID:  <20190116181146.375e2358d2091380c74a8291@sohara.org>
In-Reply-To: <0c45ab67b1480d39dd87059495f6a27c.squirrel@webmail.harte-lyne.ca>
References:  <35c451bc1733004b7d868f60da68c639.squirrel@webmail.harte-lyne.ca> <20190116173621.9d90157c1adf526298763415@sohara.org> <0c45ab67b1480d39dd87059495f6a27c.squirrel@webmail.harte-lyne.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 16 Jan 2019 12:46:39 -0500
"James B. Byrne" <byrnejb@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@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190116181146.375e2358d2091380c74a8291>