Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2004 18:18:26 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        Lukas Ertl <le@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: dump(8) deadlock (ULE bug?)
Message-ID:  <20040308181205.G63095@carver.gumbysoft.com>
In-Reply-To: <20040306191501.F919@korben.in.tern>
References:  <20040306191501.F919@korben.in.tern>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 6 Mar 2004, Lukas Ertl wrote:

> Hi,
>
> I have this filesystem:
>
> Filesystem  1K-blocks    Used     Avail Capacity  Mounted on
> /dev/da0s1g  16244334  992310  13952478     7%
>
> and I'm trying to dump it like:
>
> dump -0uf - /dev/da0s1g > news.dump

$PWD isn't on /devad0s1g, is it?

> The problem is that dump(8) seems to run into a deadlock or race in Pass
> IV [regular files], because then the dump procs all go into state "paused"
> and don't do anything anymore.
>
>  1080 root      20    0  2116K  1664K pause  0   0:04  0.00%  0.00% dump
>  1082 root      20    0  2116K  1664K pause  3   0:04  0.00%  0.00% dump
>  1081 root      20    0  2116K  1664K pause  2   0:04  0.00%  0.00% dump
>  1079 root       4    0  2244K  1704K sbwait 3   0:03  0.00%  0.00% dump

pause means the process has called pause(3) and is waiting for a signal.
Considering the parent is in sbwait, which is a network send, it appears
to be waiting for network I/O.  Why it would be doing network I/O, I don't
know; I'd suggest tcpdump and/or ktrace.

I don't know if dump is SIGIO based or not.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



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