From owner-freebsd-current@FreeBSD.ORG Fri Jun 15 14:45:24 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 7D31716A469 for ; Fri, 15 Jun 2007 14:45:24 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.231]) by mx1.freebsd.org (Postfix) with ESMTP id 3FFEE13C468 for ; Fri, 15 Jun 2007 14:45:24 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by nz-out-0506.google.com with SMTP id 14so832108nzn for ; Fri, 15 Jun 2007 07:45:23 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SfykE5VrfDIsm2VPJdF1vil+3RpjpkrbrzzIyAo/UuI6VY0rYUACLcvCJcqVPWtxLvy1uEeYzWQ/KA5yP7Ic/AMqaHZcFQArBe4liMcGgoqycVAqU/8/nQK7auwryeErts9cfho8mKQ5s+h6l00pjTF92yFPT4EBr4fPJV2v43s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TF+EsDAE94j8l3tnkakohjd9uXIqC9uQ55o4e6wiMJHmaqn0paJ26hG1dBrOxwKq2L1krD1Eef7ihVJICjzWdNRjO9yGHtUwuv8/PL1469TSmHOFY6AGFuHa/z8U5w57x5W7qbCxNzpCBWlHz+gkhVp1hThqEx5yQwvfbv1h9r8= Received: by 10.114.155.1 with SMTP id c1mr3079685wae.1181918723406; Fri, 15 Jun 2007 07:45:23 -0700 (PDT) Received: by 10.114.194.12 with HTTP; Fri, 15 Jun 2007 07:45:23 -0700 (PDT) Message-ID: Date: Fri, 15 Jun 2007 16:45:23 +0200 From: "Claus Guttesen" To: "Benjamin Close" In-Reply-To: <4672945C.3060304@clearchain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4672945C.3060304@clearchain.com> Cc: freebsd-current@freebsd.org Subject: Re: 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 14:45:24 -0000 > 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? How much swap have you allocated? -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare