From owner-freebsd-stable@FreeBSD.ORG Tue Apr 27 15:16:52 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CE99106564A for ; Tue, 27 Apr 2010 15:16:52 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.freebsd.org (Postfix) with ESMTP id 286C28FC27 for ; Tue, 27 Apr 2010 15:16:52 +0000 (UTC) Received: from [172.31.193.10] (rrcs-98-101-145-84.midsouth.biz.rr.com [98.101.145.84]) (authenticated bits=0) by duke.cs.duke.edu (8.14.2/8.14.2) with ESMTP id o3RFGp84021225 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 27 Apr 2010 11:16:51 -0400 (EDT) Message-ID: <4BD6FFDC.4090703@cs.duke.edu> Date: Tue, 27 Apr 2010 11:16:44 -0400 From: Andrew Gallatin User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Is swap on ZFS supposed to work? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 15:16:52 -0000 I have a machine where I enabled swap on ZFS somewhat accidentally (really wanted to dump to ZFS, but that didn't pan out) and then forgot about it. A month later, under a heavy load (make -j8 buildworld) it hung with: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 289218, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 290789, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 305343, size: 4096 <...> scrolling on console. I made 2 more attempts to buildworld before I finally remembered the ZFS swap partition and removed it, which allowed the buildworld to complete without hanging the machine. It is running 8.0-STABLE #1 r205446M (amd64) and has very little (512MB) RAM. Drew