Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2012 13:07:36 -0700
From:      Xin Li <delphij@delphij.net>
To:        Jin Guojun <jguojun@sbcglobal.net>
Cc:        hackers@freebsd.org, questions@freebsd.org
Subject:   Re: system hangs during dump + compress > usb2-drive
Message-ID:  <5068A688.4070100@delphij.net>
In-Reply-To: <1348984196.37002.YahooMailRC@web180906.mail.ne1.yahoo.com>
References:  <1348984196.37002.YahooMailRC@web180906.mail.ne1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5068A688.4070100>