From owner-freebsd-current@FreeBSD.ORG Sun Sep 9 01:51:29 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8561616A469; Sun, 9 Sep 2007 01:51:29 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx1.freebsd.org (Postfix) with ESMTP id 680D913C467; Sun, 9 Sep 2007 01:51:28 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <46E3519E.3040001@FreeBSD.org> Date: Sun, 09 Sep 2007 03:51:26 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Peter Schuller References: <855622.76488.qm@web36601.mail.mud.yahoo.com> <20070908215102.GA8291@hyperion.scode.org> In-Reply-To: <20070908215102.GA8291@hyperion.scode.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Simun Mikecin , freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: Swapping on ZFS - stability issue X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2007 01:51:29 -0000 Peter Schuller wrote: >> Try one of this (depends wheter you need encrypted swap or not): >> >> 1. create zvol with 4k blocksize instead of default 8k: >> zfs create -b 4k -V 4g tank/swap >> swapon /dev/zvol/tank/swap > > Using a 4k blocksize did not seem to have an effect on the problem. > > The test I am doing is with top in one virtual console and the test > program on another. I keep refreshing top seeing memory use climb, > until it starts hitting swap. After a few seconds, top hangs and the > only indications of life are ping and the console. > Please follow the directions in the developers handbook chapter on kernel debugging to obtain the relevant debugging information. Kris