Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2013 13:50:34 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        javocado <javocado@gmail.com>
Cc:        FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   Re: ZFS memory exhaustion?
Message-ID:  <CAOjFWZ6JZsVPBByczELR2e9UNS6HdHLuU%2B1J544CmFLX77ZBfQ@mail.gmail.com>
In-Reply-To: <CAP1HOmS6%2BMziqruTsdgvjYxHEb-B6Y05SCmgNomwHvtJTt-x6Q@mail.gmail.com>
References:  <CAP1HOmS6%2BMziqruTsdgvjYxHEb-B6Y05SCmgNomwHvtJTt-x6Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 16, 2013 at 1:26 PM, javocado <javocado@gmail.com> wrote:

> I have a couple questions:
>
> - what does it look like when zfs needs more physical memory / is running
> out of memory for its operations?
>

Disk I/O drops to 0, reading/writing any file from the pool appears to
"hang" the console, programs already loaded into RAM continue to work so
long as they don't touch the pool, etc.


>
> - what diagnostic numbers (vmstat, etc.) should I watch for that?
>
> Top output will show Wired at/near 100% of RAM.


> swapinfo shows zero (basically zero) swap usage, so it doesn't look like
> things get that bad.
>
>
ZFS uses non-swappable kernel memory, so you won't ever see swap used when
ZFS runs out of RAM.

Those are the symptoms we've noticed when our ZFS systems have run out of
RAM.


-- 
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ6JZsVPBByczELR2e9UNS6HdHLuU%2B1J544CmFLX77ZBfQ>