Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 1999 22:51:56 -0700 (PDT)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        stable@freebsd.org
Cc:        mckusick@freebsd.org, releng@freebsd.org
Subject:   bad refence counts on directories
Message-ID:  <199906250551.WAA09095@bubble.didi.com>

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

I've seen some reference count problems on my package building
machines.  They are running -stable from about a month ago:

FreeBSD 3.2-STABLE #2: Mon May 17 04:08:47 PDT 1999
    asami@bento.freebsd.org:/usr/src/sys/compile/CLUSTER

The machines are continously creating an enormous number of
directories and then deleting them.  I see something like this every
once in a while:

rm: /a/asami/portbuild/3/chroot/78421: Directory not empty

When I go there it's always an empty directory with a reference count
of 3.

## ls -asliF
total 3
 762640 1 drwxr-xr-x  3 root  wheel  512 Jun 24 22:39 ./
1214637 1 drwxr-xr-x  3 root  wheel  512 Jun 24 22:39 ../
 277823 1 drwxr-xr-x  3 root  asami  512 Jun 24 22:39 78421/
                      ^
                  (this directory is empty)

The machines crash or hang from time to time but this happens more
often than the crashes so I don't think it's related.  I see about one
of these for every other full build (on 8 machines).

Satoshi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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