Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 2015 11:35:01 -0400
From:      Robert Blayzor <rblayzor.bulk@inoc.net>
To:        armonia <armonia@inbox.ru>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ZFS out of swap space
Message-ID:  <623F60FA-DECA-44A5-8931-D79EFE67D5D9@inoc.net>
In-Reply-To: <1427296089.943477941@f273.i.mail.ru>
References:  <1427296089.943477941@f273.i.mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mar 25, 2015, at 11:08 AM, armonia <armonia@inbox.ru> wrote:
> -- Hello. Please help . I mirror ZFS 9.3 , after an active it by using mysql read \ write from an external script something broken. The operating system is not loaded at the time of "Mount local filesystems"
> 
> pool consists of a mirror (raid 1 ) + hot swap, zfs partitions on a separate .
> 
> zpool import -f -R /tmp zroot freezes


Where is your swap partition?

My guess is you are hitting swap because you need to tune vfs.zfs.arc_max to allow room for the OS and any running applications. If you do not set arc_max then ZFS will basically consume all RAM save for about 1GB for the OS and any apps. 

Maybe something like the following to /boot/loader.conf may help... (or not)

vfs.zfs.arc_max="2G"


--
Robert
inoc.net!rblayzor
http://inoc.net/






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?623F60FA-DECA-44A5-8931-D79EFE67D5D9>