From owner-freebsd-stable@FreeBSD.ORG Wed Jan 3 14:20:20 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF55716A415 for ; Wed, 3 Jan 2007 14:20:20 +0000 (UTC) (envelope-from lists@mschuette.name) Received: from mail.asta.uni-potsdam.de (mail.asta.uni-potsdam.de [141.89.58.198]) by mx1.freebsd.org (Postfix) with ESMTP id 6FD3F13C459 for ; Wed, 3 Jan 2007 14:20:20 +0000 (UTC) (envelope-from lists@mschuette.name) Received: from localhost (mail.asta.uni-potsdam.de [141.89.58.198]) by mail.asta.uni-potsdam.de (Postfix) with ESMTP id EF9F3EBC32 for ; Wed, 3 Jan 2007 14:54:24 +0100 (CET) X-Virus-Scanned: on mail at asta.uni-potsdam.de Received: from mail.asta.uni-potsdam.de ([141.89.58.198]) by localhost (mail.asta.uni-potsdam.de [141.89.58.198]) (amavisd-new, port 10024) with ESMTP id hkvHbAN1P6v1 for ; Wed, 3 Jan 2007 14:54:13 +0100 (CET) Received: from [192.168.178.21] (V9d43.v.pppool.de [89.57.157.67]) by mail.asta.uni-potsdam.de (Postfix) with ESMTP id 06F8CEBC23 for ; Wed, 3 Jan 2007 14:54:12 +0100 (CET) Message-ID: <459BB587.7060007@mschuette.name> Date: Wed, 03 Jan 2007 14:54:15 +0100 From: =?ISO-8859-15?Q?Martin_Sch=FCtte?= User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <20061219073943.W74584@polaris.astro.ufl.edu> <20061227035530.GC9859@xor.obsecurity.org> In-Reply-To: <20061227035530.GC9859@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: "swap_pager" loop? 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: Wed, 03 Jan 2007 14:20:20 -0000 Kris Kennaway schrieb: >> The machine has 4gb of ram, a 4gb swap partition on /dev/amrd0s1b, and >> provides nfs/nis/samba/printing (cups) services. I have the same problem with FreeBSD 6.1-RELEASE on my SMP-System (2xAthlon MP) with an asr-RAID (Adaptec 2110S). The disks are OK (complete read with 'dd if=/dev/da...' showed no errors). The deadlocks often occured during backups, so I suspect a race condition or too many interrupts to be the cause. > You could try increasing the timeout in the msleep() in > vm/swap_pager.c. If your system is just so heavily loaded that the > I/O command really is taking more than 20 seconds to complete, you may > be getting false positives. I set my timeout to 40 secs, without deadlocks since then. But instead I got two Crashes with Trap 12: page fault. lock order reversal: sleepable after non-sleepable 1st 0x... unp@/usr/src/sys/kern/uipc_usrreq.c:981 2nd 0x... usermap@/usr/src/sys/vm/vm_map.c:2997 Any suggestions are welcome. -- Martin Schütte