Re: Unconnected files problem

2002-02-11 Thread Kirk McKusick

I have (finally) found and fixed this problem. You need to get
version 1.107 or later of /sys/ufs/ffs/ffs_softdep.c (2002/02/07).

Kirk McKusick

=-=-=-=-=-=

Date: Tue, 28 Aug 2001 14:02:24 +0200
From: Ollivier Robert [EMAIL PROTECTED]
To: FreeBSD Current Users' list [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Unconnected files problem

I have a script that generates index for all my mail messages (using
glimpse). Sometimes, the disk is full because it has some rather big
temporary files (and I have a lot of mail).

It seems that we may have a softupdate-related (that's a guess from me)
problem because some of these temporaty files end up as unconnected to any
directory but link count is still one and they still takes space. The last
time fsck ran on the filesystem, it gave me back more than 6 (!!)
fragments (cf the following:

-=-=-
Aug 23 12:21:38 caerdonn root: /dev/da0s1g: Reclaimed: 0 directories, 22 files, 60424 
fragments 
Aug 23 12:21:38 caerdonn root: /dev/da0s1g: 10295 files, 387087 used, 73408 free (1048 
frags, 9045 blocks, 0.2% fragmentation) 
-=-=-

lsof doesn't show them so they're not open by any process.

The mtime of the files are exactly when the glimpseindex command is run. We
know that SU has some issues when a filesystem is full but this is quite a
problem because as you can see below, I'm losing a lot of space till the
next reboot...

UNREF FILE I=1081  OWNER=roberto MODE=100600
SIZE=523 MTIME=Aug 28 00:46 2001 
CLEAR? no

UNREF FILE  I=18498  OWNER=roberto MODE=100600
SIZE=230665 MTIME=Aug 26 08:05 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=18508  OWNER=roberto MODE=100600
SIZE=11225707 MTIME=Aug 23 20:02 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=18530  OWNER=roberto MODE=100600
SIZE=28322748 MTIME=Aug 24 20:09 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=18573  OWNER=roberto MODE=100600
SIZE=28326193 MTIME=Aug 25 20:09 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=18575  OWNER=roberto MODE=100600
SIZE=18684173 MTIME=Aug 24 20:08 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=19204  OWNER=roberto MODE=100600
SIZE=13771800 MTIME=Aug 26 08:05 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=19353  OWNER=roberto MODE=100600
SIZE=18679309 MTIME=Aug 25 20:08 2001 
RECONNECT? no

CLEAR? no

** Phase 5 - Check Cyl groups
10223 files, 446324 used, 74595 free (1019 frags, 9197 blocks, 0.2% fragmentation)

fsdb (inum: 2) inode 19353
current inode: regular file
I=19353 MODE=100600 SIZE=18679309
MTIME=Aug 25 20:08:18 2001 [0 nsec]
CTIME=Aug 25 20:08:18 2001 [0 nsec]
ATIME=Aug 25 20:08:11 2001 [0 nsec]
OWNER=roberto GRP=staff LINKCNT=1 FLAGS=0 BLKCNT=8ec0 GEN=4c2a6c10

-- 
Ollivier ROBERT  -=-  Eurocontrol EEC/ITM  -=-  [EMAIL PROTECTED]
FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT #46: Wed Jan  3 15:52:00 CET 2001

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Unconnected files problem

2002-02-10 Thread Kirk McKusick

I have (finally) found and fixed this problem. You need to get
version 1.107 or later of /sys/ufs/ffs/ffs_softdep.c (2002/02/07).

Kirk McKusick

=-=-=-=-=-=

Date: Tue, 28 Aug 2001 14:02:24 +0200
From: Ollivier Robert [EMAIL PROTECTED]
To: FreeBSD Current Users' list [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Unconnected files problem

I have a script that generates index for all my mail messages (using
glimpse). Sometimes, the disk is full because it has some rather big
temporary files (and I have a lot of mail).

It seems that we may have a softupdate-related (that's a guess from me)
problem because some of these temporaty files end up as unconnected to any
directory but link count is still one and they still takes space. The last
time fsck ran on the filesystem, it gave me back more than 6 (!!)
fragments (cf the following:

-=-=-
Aug 23 12:21:38 caerdonn root: /dev/da0s1g: Reclaimed: 0 directories, 22 files, 60424 
fragments 
Aug 23 12:21:38 caerdonn root: /dev/da0s1g: 10295 files, 387087 used, 73408 free (1048 
frags, 9045 blocks, 0.2% fragmentation) 
-=-=-

lsof doesn't show them so they're not open by any process.

The mtime of the files are exactly when the glimpseindex command is run. We
know that SU has some issues when a filesystem is full but this is quite a
problem because as you can see below, I'm losing a lot of space till the
next reboot...

UNREF FILE I=1081  OWNER=roberto MODE=100600
SIZE=523 MTIME=Aug 28 00:46 2001 
CLEAR? no

UNREF FILE  I=18498  OWNER=roberto MODE=100600
SIZE=230665 MTIME=Aug 26 08:05 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=18508  OWNER=roberto MODE=100600
SIZE=11225707 MTIME=Aug 23 20:02 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=18530  OWNER=roberto MODE=100600
SIZE=28322748 MTIME=Aug 24 20:09 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=18573  OWNER=roberto MODE=100600
SIZE=28326193 MTIME=Aug 25 20:09 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=18575  OWNER=roberto MODE=100600
SIZE=18684173 MTIME=Aug 24 20:08 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=19204  OWNER=roberto MODE=100600
SIZE=13771800 MTIME=Aug 26 08:05 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=19353  OWNER=roberto MODE=100600
SIZE=18679309 MTIME=Aug 25 20:08 2001 
RECONNECT? no

CLEAR? no

** Phase 5 - Check Cyl groups
10223 files, 446324 used, 74595 free (1019 frags, 9197 blocks, 0.2% fragmentation)

fsdb (inum: 2) inode 19353
current inode: regular file
I=19353 MODE=100600 SIZE=18679309
MTIME=Aug 25 20:08:18 2001 [0 nsec]
CTIME=Aug 25 20:08:18 2001 [0 nsec]
ATIME=Aug 25 20:08:11 2001 [0 nsec]
OWNER=roberto GRP=staff LINKCNT=1 FLAGS=0 BLKCNT=8ec0 GEN=4c2a6c10

-- 
Ollivier ROBERT  -=-  Eurocontrol EEC/ITM  -=-  [EMAIL PROTECTED]
FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT #46: Wed Jan  3 15:52:00 CET 2001

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Unconnected files problem

2001-08-28 Thread Ollivier Robert

I have a script that generates index for all my mail messages (using
glimpse). Sometimes, the disk is full because it has some rather big
temporary files (and I have a lot of mail).

It seems that we may have a softupdate-related (that's a guess from me)
problem because some of these temporaty files end up as unconnected to any
directory but link count is still one and they still takes space. The last
time fsck ran on the filesystem, it gave me back more than 6 (!!)
fragments (cf the following:

-=-=-
Aug 23 12:21:38 caerdonn root: /dev/da0s1g: Reclaimed: 0 directories, 22 files, 60424 
fragments 
Aug 23 12:21:38 caerdonn root: /dev/da0s1g: 10295 files, 387087 used, 73408 free (1048 
frags, 9045 blocks, 0.2% fragmentation) 
-=-=-

lsof doesn't show them so they're not open by any process.

The mtime of the files are exactly when the glimpseindex command is run. We
know that SU has some issues when a filesystem is full but this is quite a
problem because as you can see below, I'm losing a lot of space till the
next reboot...

UNREF FILE I=1081  OWNER=roberto MODE=100600
SIZE=523 MTIME=Aug 28 00:46 2001 
CLEAR? no

UNREF FILE  I=18498  OWNER=roberto MODE=100600
SIZE=230665 MTIME=Aug 26 08:05 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=18508  OWNER=roberto MODE=100600
SIZE=11225707 MTIME=Aug 23 20:02 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=18530  OWNER=roberto MODE=100600
SIZE=28322748 MTIME=Aug 24 20:09 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=18573  OWNER=roberto MODE=100600
SIZE=28326193 MTIME=Aug 25 20:09 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=18575  OWNER=roberto MODE=100600
SIZE=18684173 MTIME=Aug 24 20:08 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=19204  OWNER=roberto MODE=100600
SIZE=13771800 MTIME=Aug 26 08:05 2001 
RECONNECT? no

CLEAR? no

UNREF FILE  I=19353  OWNER=roberto MODE=100600
SIZE=18679309 MTIME=Aug 25 20:08 2001 
RECONNECT? no

CLEAR? no

** Phase 5 - Check Cyl groups
10223 files, 446324 used, 74595 free (1019 frags, 9197 blocks, 0.2% fragmentation)

fsdb (inum: 2) inode 19353
current inode: regular file
I=19353 MODE=100600 SIZE=18679309
MTIME=Aug 25 20:08:18 2001 [0 nsec]
CTIME=Aug 25 20:08:18 2001 [0 nsec]
ATIME=Aug 25 20:08:11 2001 [0 nsec]
OWNER=roberto GRP=staff LINKCNT=1 FLAGS=0 BLKCNT=8ec0 GEN=4c2a6c10

-- 
Ollivier ROBERT  -=-  Eurocontrol EEC/ITM  -=-  [EMAIL PROTECTED]
FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT #46: Wed Jan  3 15:52:00 CET 2001

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message