Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 1997 23:10:43 -0700 (PDT)
From:      Don Lewis <Don.Lewis@tsc.tdk.com>
To:        freebsd-stable@freebsd.org
Subject:   mfs bug in 2.1-stable?
Message-ID:  <199710170610.XAA28330@salsa.gv.tsc.tdk.com>

next in thread | raw e-mail | index | archive | help

I've found a repeatable way to hang a 2.1-stable (10/12/97) box that uses
mfs for /tmp.  Hardware is a Dell Pentium II 266, with an Adaptec 2940UW
and an Intel Etherexpress Pro 10/100.  If I tar a 65MB directory tree to
a file in /tmp, rm the file, then run the tar command again, the machine
wedges.  It's not swap exhaustion, because I ran "pstat -s" in a loop
and it shows plenty of swap left just before things hang.

Device      1K-blocks     Used    Avail Capacity  Type
/dev/sd0s1b    102400    40036    62300    39%    Interleaved

One thing that's interesting is that at the end of the first tar command,
about 32 MB of swap has been used, removing the file doesn't change the
amount of swap consumed, then running the tar command again causes several
MB more swap to be consumed.

If I type ^T in the window that is running tar, it reports:

load: 0.06  cmd: tar 366 [getblk] 0.00u 0.57s 0% 236k

Something else interesting is that I had top running in another window
and it continued to run after the tar command wedged, but top also
froze when I tried to interrupt tar with a ^c.  Once hung, the machine
doesn't respond to ctrl-alt-del, so the only escape is to hit the
reset button.

This machine has no problem running "make world" with TMPDIR set to
/tmp.

			---  Truck



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