Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2023 18:36:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 211674] sysutils/fusefs-ntfs: fuse_vnode leak/reclamation failure
Message-ID:  <bug-211674-7788-KpEYzD2QD1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211674-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211674-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211674

--- Comment #7 from Gleb Popov <arrowd@FreeBSD.org> ---
Ok, the bug report seems to still be relevant.

Preparation steps:

1. pkg install fusefs-ntfs.
2. Insert an USB flash disk. A memory device should probably be fine too.
3. mkntfs -f /dev/da0
4. ntfs-3g /dev/da0 /mnt
5. cp -r /usr/include /mnt
6. umount /mnt

The copying took quite a time for me, but maybe it is just the stick.

Reproduction steps:

1. kldunload fusefs
2. kldload fusefs
3. ntfs-3g /dev/da0 /mnt
4. vmstat | head -n1 ; vmstat -m | sed 1d | sort -hk 3,3 | grep fuse

procs     memory       page                      disks     faults       cpu
   fuse_vnode     1     1K        1  384
  fuse_msgbuf   265    67K      265  256,384

5. find /mnt -exec touch {} \;
6. Wait the find process to finish.
7. vmstat | head -n1 ; vmstat -m | sed 1d | sort -hk 3,3 | grep fuse

procs     memory       page                      disks     faults       cpu
fuse_filefilehandle     1     1K      327  64
  fuse_msgbuf   881   269K     1309  256,384,512,1024,2048,4096
   fuse_vnode  2763  1037K     2763  384

8. umount /mnt

Umounting takes considerable amount of time.

9. vmstat | head -n1 ; vmstat -m | sed 1d | sort -hk 3,3 | grep fuse

procs     memory       page                      disks     faults       cpu
   fuse_vnode     0     0K     2763  384
fuse_filefilehandle     0     0K      327  64
  fuse_msgbuf  3256   863K     3685  256,384,512,1024,2048,4096


Hope this helps.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211674-7788-KpEYzD2QD1>