From owner-freebsd-current@FreeBSD.ORG Fri Jun 15 13:30:30 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1535A16A46C for ; Fri, 15 Jun 2007 13:30:30 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) Received: from ipmail03.adl2.internode.on.net (ipmail03.adl2.internode.on.net [203.16.214.135]) by mx1.freebsd.org (Postfix) with ESMTP id 8DDDA13C45A for ; Fri, 15 Jun 2007 13:30:29 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) X-IronPort-AV: E=Sophos;i="4.16,425,1175437800"; d="scan'208";a="103515858" Received: from ppp141-200.lns11.adl6.internode.on.net (HELO mail.clearchain.com) ([121.45.141.200]) by ipmail03.adl2.internode.on.net with ESMTP; 15 Jun 2007 23:00:27 +0930 Received: from [192.168.155.252] (draco.internal.clearchain.com [192.168.155.252]) (authenticated bits=0) by mail.clearchain.com (8.13.8/8.13.8) with ESMTP id l5FDU8lH003081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 15 Jun 2007 23:00:09 +0930 (CST) (envelope-from Benjamin.Close@clearchain.com) Message-ID: <4672945C.3060304@clearchain.com> Date: Fri, 15 Jun 2007 23:00:04 +0930 From: Benjamin Close User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.90.3, clamav-milter version 0.90.3 on pegasus.clearchain.com X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (mail.clearchain.com [192.168.154.1]); Fri, 15 Jun 2007 23:00:09 +0930 (CST) X-Mailman-Approved-At: Fri, 15 Jun 2007 13:52:38 +0000 Subject: Swapfile on ZFS & Deadlock 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: Fri, 15 Jun 2007 13:30:30 -0000 Hi All, Whilst running out of memory compiling Xorg (scanPCI is a killer) I discovered a quick way to deadlock the system: dd if=/dev/zero of=somefileonzfs bs=something count=something mdconfig -a -f something swapon /dev/md0 Then do something that needs swap.. instant deadlock. The system is still responsive but all disk access become hung. Known issue? If so is there a way we can warn users/prevent users from doing it? Cheers, Benjamin