From owner-freebsd-stable@FreeBSD.ORG Wed Mar 25 15:35:10 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34B7D54C for ; Wed, 25 Mar 2015 15:35:10 +0000 (UTC) Received: from mta0.alb.inoc.net (mta0.alb.inoc.net [IPv6:2607:f058:110:2::1:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EA74F77C for ; Wed, 25 Mar 2015 15:35:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inoc.net; s=201501; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Content-Type:Mime-Version:Subject; bh=hjSz5sJyEKDRsNLHmbpJWbsVeDvwoxRlPhjPo9kPDso=; b=DdztKmrL1LNvz4lXUBuJ9NvgoibX5hV4WMZ/eYbn6CHENJBxxaqbf9PmGlu8kjTlh3HoavfSAEv5m/u0r33TR16c+rQoZkc+75x27Zw68Nhyi+wMovTMDZNj/buvzaYBNgumMOl/yE43PkmoHUKanmfDN2YIPTdx4xvNbqNGpDAGG6u+p8ofjJCdW4ZOQl9QZHIbG98Ki1MNCC4nouH0YKljlsUYFw971GkB1WIJGP6RF5UN61COdRJH0ekJwfCYwuAOS56anHP86r/vtwpSgZ7ZA1m9jByswp/MFJ+crkPTrzNFYkODbsA8CfdVLJsvGlFRlfMrwr/FOufCvFmUNA==; Received: from [2607:f058:10:a:d0f:622b:2dc0:7abf] by mail.inoc.net with ESMTPA (Exim 4.85) (envelope-from ) id 1YanKm-000Ijh-F0 by authid ; Wed, 25 Mar 2015 15:35:08 +0000 Subject: Re: ZFS out of swap space Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: text/plain; charset=us-ascii From: Robert Blayzor X-Priority: 3 (Normal) In-Reply-To: <1427296089.943477941@f273.i.mail.ru> Date: Wed, 25 Mar 2015 11:35:01 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <623F60FA-DECA-44A5-8931-D79EFE67D5D9@inoc.net> References: <1427296089.943477941@f273.i.mail.ru> To: armonia X-Mailer: Apple Mail (2.2070.6) X-Auth-Info: cmJsYXl6b3JAaW5vYy5uZXQ= X-Virus-Scanned: ClamAV 0.98.6/20236/Wed Mar 25 04:48:31 2015 X-Origin-Country: US X-Anti-Abuse: Please report to abuse@inoc.net Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 15:35:10 -0000 On Mar 25, 2015, at 11:08 AM, armonia 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" >=20 > pool consists of a mirror (raid 1 ) + hot swap, zfs partitions on a = separate . >=20 > 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.=20 Maybe something like the following to /boot/loader.conf may help... (or = not) vfs.zfs.arc_max=3D"2G" -- Robert inoc.net!rblayzor http://inoc.net/