From owner-freebsd-stable@FreeBSD.ORG Fri Mar 16 08:21:16 2007 Return-Path: X-Original-To: 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 4BAAF16A404 for ; Fri, 16 Mar 2007 08:21:16 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id D84C913C44C for ; Fri, 16 Mar 2007 08:21:15 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so153496nfc for ; Fri, 16 Mar 2007 01:21:14 -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:mime-version:content-type:content-transfer-encoding:content-disposition; b=MntBNuj1FhueqvKG4UFY0JTUht+Z5TW8z4DZnVtAdjcv8ZdsFuge8xpQAU1iglulHpktOXNiaS76IaDYeuMfH4EGtFwWU+s40ybR7vyXMfwe/3chmFhLy7a5mcVFv+xLMRTxfgfg4HQm1pVnNLsJADGUiBEj2eJwpxlrcnBxnag= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=F5hInOuhNyxqbhxQjrxldudK7ke3QV47rqqhMShL5Y191rZSZqWtQQYE73KONMw2PL0JKp0UVaFUW3MyKhGBIW+jVoJG6zh63as9KodK5V11nx3LN9IJley9Dcq1NPHKDIwAaP5Og8DCA1+Zat6tgJu9M0au9Ewfe7szOrbJN5I= Received: by 10.82.136.4 with SMTP id j4mr2643545bud.1174033274100; Fri, 16 Mar 2007 01:21:14 -0700 (PDT) Received: by 10.82.148.3 with HTTP; Fri, 16 Mar 2007 01:21:13 -0700 (PDT) Message-ID: <7ad7ddd90703160121u6e5b208fqcbc4221a0cbdd03f@mail.gmail.com> Date: Fri, 16 Mar 2007 09:21:13 +0100 From: "Ulrich Spoerlein" To: stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: kib@freebsd.org Subject: Snapshot deadlock while dumping 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: Fri, 16 Mar 2007 08:21:16 -0000 Hi, One of our fileservers deadlocked, again. It is running RELENG_6 from 2006-11-14 and was running dump(8) -L on a 11% filled 400GB UFS2 volume. It is hanging for 3h hours now, and there is no disk activity. # ps axl | grep snap 0 46 0 1 -4 0 0 8 snaplk DL ?? 98:58.88 [bufdaemon] 0 48 0 0 -4 0 0 8 snaplk DL ?? 68:22.58 [syncer] 0 15179 11192 5 8 0 1708 1044 wait I+ p1 0:00.00 sh -c /sbin/mksnap_ffs /export/ 0 18738 15179 0 -8 0 2776 1756 getbuf D+ p1 0:04.07 /sbin/mksnap_ffs /export/homes Quotas are enabled in the server, but the filesystems are currently mounted without quota support (they were once mounted with userquota, though). Thanks, Uli PS: I can't break to DDB, as it is not configured for this server. What are the recommended DDB settings for _production_ servers? I want them to reboot on panic, but be able to grab the panic string via serial console. Is something like this gonna do the trick? Is there some kind of performance impact? options KDB options DDB options KDB_UNATTENDED options ALT_BREAK_TO_DEBUGGER It should *NOT* enter the debugger, if I plug/pull an RS232 cable. I read somewhere, that some controllers do send a break if the cable gets pulled, IIRC.