Date: Thu, 17 Feb 2011 11:52:04 +1300 From: Andrew Thompson <andy@fud.org.nz> To: freebsd-fs@freebsd.org Subject: zfs directory listing Message-ID: <AANLkTinwRumkvSn7wfh4a%2BeNJyFoFDyMMKjk7GOSLAXc@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi,
I have a zfs file system on 8.1-RELEASE amd64 which as a large number
of files in /var/spool/mqueue. loader.conf has vfs.zfs.arc_max=2G for
an 8G box.
NAME                      USED  AVAIL  REFER  MOUNTPOINT
tank/jails/xena          46.0G   779G  41.8G  /jails/xena
Here is the listing of /jails/xena/var/spool,
drwxrwx---  2 smmsp     smmsp       34 Feb 17 11:25 clientmqueue
drwxrwxr-x  2 uucp      dialer       3 Feb 17 11:18 lock
drwxr-xr-x  2 root      daemon       2 May  1  2009 lpd
drwx------  2 mailnull  daemon       2 Dec 28  2004 milter-regex
drwxr-xr-x  2 root      daemon  522824 Feb 17 11:10 mqueue
drwx------  2 root      daemon       2 May  1  2009 opielocks
drwxr-xr-x  3 root      daemon       3 May  1  2009 output
drwxr-xr-x  2 spamd     spamd        2 Jun 29  2005 spamd
mqueue has a link count of 522824. I can not list the contents of this
directory, when I do the number of read IOPS sits > 100 and it will
never complete
# zpool iostat 1
               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
tank         127G   793G    340    326  1.23M  1.83M
tank         127G   793G    146      0   937K      0
tank         127G   793G    135      0   870K      0
tank         127G   793G    136      0   875K      0
tank         127G   793G    125      0   812K      0
tank         127G   793G    135      0   869K      0
...
if I ^C the ls then the read ops drops back to zero. If I leave a `ls`
or `find /var/spool/mqueue` running then they will churn the disks
indefinitely without producing output.
Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinwRumkvSn7wfh4a%2BeNJyFoFDyMMKjk7GOSLAXc>
