From owner-freebsd-questions@FreeBSD.ORG Sun Sep 30 20:07:38 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16D21106566C; Sun, 30 Sep 2012 20:07:38 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) by mx1.freebsd.org (Postfix) with ESMTP id EAF928FC0A; Sun, 30 Sep 2012 20:07:37 +0000 (UTC) Received: from Xins-MacBook-Pro.local (c-67-188-85-47.hsd1.ca.comcast.net [67.188.85.47]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id 9AE651CEEB; Sun, 30 Sep 2012 13:07:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1349035657; bh=R4gkWUbdrcUay0TwKDt2TkgXjp7gLugLGSzDmdxkCzk=; h=Date:From:Reply-To:To:CC:Subject:References:In-Reply-To; b=gmYwDZ1vaSYscBSfYzZbtopZI+5uK4rAQgyTPOj9yl43FHrkYMM09MGAzMKJ9+0qV f9lGr3WMTbRnc+FlDwRZwbVRAphhJHYDug+GWsSkivlYfxZiyvnhiJwYjkDKHEPa+S M3qJT0DgYCglUAyLLlxbV3a9MfdaNT1J+qrkB6oE= Message-ID: <5068A688.4070100@delphij.net> Date: Sun, 30 Sep 2012 13:07:36 -0700 From: Xin Li Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Jin Guojun References: <1348984196.37002.YahooMailRC@web180906.mail.ne1.yahoo.com> In-Reply-To: <1348984196.37002.YahooMailRC@web180906.mail.ne1.yahoo.com> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org, questions@freebsd.org Subject: Re: system hangs during dump + compress > usb2-drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2012 20:07:38 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 9/29/12 10:49 PM, Jin Guojun wrote: > In FreeBSD 8.3 release (possibly in earlier release), dump a file > system has 2-3GB or more content can cause system hang in a > specific case (pipe to compression): > > dump FS-on-SATA-drive > usb-drive OK dump FS-on-SATA-drive > | anyCompress > sata-drive OK mv a-large-dump-file from > STAT drive to a USB drive OK dump small-FS-on-SATA-drive | > anyCompress > usb-drive OK small -- 1.8GB or less dump > large-FS-on-SATA-drive | anyCompress > usb-drive hang > content is 3GB or larger (did not try around 2GB yet) > > When system hangs, no sub system, such video, network, etc, will > function. Typically, the unfinished compressed dump file is around > 1.5-2.7GB, so guessing dumped file content is close to or over 2GB > when failure occurred. > > Has anyone encountered the same problem? > > Because this usually takes a few hours to occur, this is hard to > watch how/when it happens. Is any way to debug or determine what > status the system is? For starters I'd use a different console for doing procstat -kk -a and see what the system is doing. (Perhaps also top) I *think* that if it's just hanging for some time, it's probably because the system is trying to take a snapshot? It takes time on UFS when creating and removing the snapshot. Just a guess... Cheers, -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) iQEcBAEBCAAGBQJQaKaIAAoJEG80Jeu8UPuzfH4IAL3k2M/KHV39FrI0U4lZ1yu/ bFbJJubQHzjfNbDrI4er1Xg6S0sN0DNnRoD/bQFKKHvQpfqcCUOwUtpq0kssyfLY 4XQOF9nhcyvL/INz6ArtI7EhKh/2cADb+1zp+NMsFyqvn3F09VPvx6h9z6ufaian LlAA6uisZSl/eGv5uNGGcudiUxSALql8UniZVHJvyO+pCjOAwL+MBxfqQ4LW3DEy ngvkvCeQ2nK/k0oQDq5jt9A9+D+7b3+Wo+4sMkIN7uTMgPpET4JSgWgxkzG1xM+l VMTAUHiqdeKp2JbWot1sRE5K7SiLPDmVGXEa0w+duBbvtuk8M/uXLootky0y1Oc= =zTBM -----END PGP SIGNATURE-----