Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Aug 2016 09:33:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 211497] ls hangs while listng  files in zfs
Message-ID:  <bug-211497-6@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 211497
           Summary: ls hangs while listng  files in zfs
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: ip@surftown.com
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@FreeBSD.org

uname -a
FreeBSD zst7 10.3-RELEASE-p4 FreeBSD 10.3-RELEASE-p4 #0: Sat May 28 12:23:44
UTC 2016     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERI=
C=20
amd64

root@zst7:~ # zfs list
tank/mail4          1.70T   634G  1.23T  /tank/mail4

root@zst7:~ #cd /tank/mail4/some/some/some/pust

root@zst7:~ #truss ls

mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 343661=
81376
(0x800625000)
issetugid()                                      =3D 0 (0x0)
lstat("/etc",{ mode=3Ddrwxr-xr-x ,inode=3D235390848,size=3D2560,blksize=3D3=
2768 }) =3D 0
(0x0)
lstat("/etc/libmap.conf",{ mode=3D-rw-r--r--
,inode=3D235391302,size=3D109,blksize=3D32768 }) =3D 0 (0x0)
openat(AT_FDCWD,"/etc/libmap.conf",O_CLOEXEC,00) =3D 3 (0x3)
fstat(3,{ mode=3D-rw-r--r-- ,inode=3D235391302,size=3D109,blksize=3D32768 }=
) =3D 0 (0x0)
mmap(0x0,109,PROT_READ,MAP_PRIVATE,3,0x0)        =3D 34366214144 (0x80062d0=
00)
close(3)                                         =3D 0 (0x0)
lstat("/usr",{ mode=3Ddrwxr-xr-x ,inode=3D2086656,size=3D512,blksize=3D3276=
8 }) =3D 0
(0x0)
lstat("/usr/local",{ mode=3Ddrwxr-xr-x ,inode=3D2086666,size=3D512,blksize=
=3D32768 }) =3D
0 (0x0)
lstat("/usr/local/etc",{ mode=3Ddrwxr-xr-x ,inode=3D2981741,size=3D512,blks=
ize=3D32768
}) =3D 0 (0x0)
lstat("/usr/local/etc/libmap.d",0x7fffffffc6b8)  ERR#2 'No such file or
directory'
munmap(0x80062d000,109)                          =3D 0 (0x0)
openat(AT_FDCWD,"/var/run/ld-elf.so.hints",O_CLOEXEC,00) =3D 3 (0x3)
read(3,"Ehnt\^A\0\0\0\M^@\0\0\0Q\0\0\0\0"...,128) =3D 128 (0x80)
lseek(3,0x80,SEEK_SET)                           =3D 128 (0x80)
read(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,81) =3D 81 (0x51)
close(3)                                         =3D 0 (0x0)
access("/lib/libutil.so.9",F_OK)                 =3D 0 (0x0)
openat(AT_FDCWD,"/lib/libutil.so.9",O_CLOEXEC,00) =3D 3 (0x3)
fstat(3,{ mode=3D-r--r--r-- ,inode=3D339563238,size=3D72944,blksize=3D32768=
 }) =3D 0
(0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) =3D 34366214144
(0x80062d000)
mmap(0x0,2174976,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =3D
34368282624 (0x800826000)
mmap(0x800826000,65536,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE=
|MAP_PREFAULT_READ,3,0x0)
=3D 34368282624 (0x800826000)
mmap(0x800a36000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAU=
LT_READ,3,0x10000)
=3D 34370445312 (0x800a36000)
mmap(0x800a37000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-=
1,0x0)
=3D 34370449408 (0x800a37000)
munmap(0x80062d000,4096)                         =3D 0 (0x0)
close(3)                                         =3D 0 (0x0)
access("/lib/libncurses.so.8",F_OK)              =3D 0 (0x0)
openat(AT_FDCWD,"/lib/libncurses.so.8",O_CLOEXEC,00) =3D 3 (0x3)
fstat(3,{ mode=3D-r--r--r-- ,inode=3D339563226,size=3D314136,blksize=3D3276=
8 }) =3D 0
(0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) =3D 34366214144
(0x80062d000)
mmap(0x0,2412544,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =3D
34370457600 (0x800a39000)
mmap(0x800a39000,294912,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCOR=
E|MAP_PREFAULT_READ,3,0x0)
=3D 34370457600 (0x800a39000)
mmap(0x800c81000,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFA=
ULT_READ,3,0x48000)
=3D 34372849664 (0x800c81000)
munmap(0x80062d000,4096)                         =3D 0 (0x0)
close(3)                                         =3D 0 (0x0)
access("/lib/libc.so.7",F_OK)                    =3D 0 (0x0)
openat(AT_FDCWD,"/lib/libc.so.7",O_CLOEXEC,00)   =3D 3 (0x3)
fstat(3,{ mode=3D-r--r--r-- ,inode=3D339563207,size=3D1647104,blksize=3D327=
68 }) =3D 0
(0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) =3D 34366214144
(0x80062d000)
mmap(0x0,3854336,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =3D
34372870144 (0x800c86000)
mmap(0x800c86000,1536000,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCO=
RE|MAP_PREFAULT_READ,3,0x0)
=3D 34372870144 (0x800c86000)
mmap(0x800ffd000,49152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFA=
ULT_READ,3,0x177000)
=3D 34376503296 (0x800ffd000)
mmap(0x801009000,172032,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON=
,-1,0x0)
=3D 34376552448 (0x801009000)
munmap(0x80062d000,4096)                         =3D 0 (0x0)
close(3)                                         =3D 0 (0x0)
munmap(0x80062c000,4096)                         =3D 0 (0x0)
mmap(0x0,40960,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 343662=
10048
(0x80062c000)
munmap(0x800632000,16384)                        =3D 0 (0x0)
mmap(0x0,102400,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 34366=
234624
(0x800632000)
sysarch(AMD64_SET_FSBASE,0x7fffffffe098)         =3D 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTST=
P|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|S=
IGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) =3D 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 =3D 0 (0x0)
readlink("/etc/malloc.conf",0x7fffffffd7c0,1024) ERR#2 'No such file or
directory'
issetugid()                                      =3D 0 (0x0)
mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D
34376724480 (0x801033000)
munmap(0x801033000,4194304)                      =3D 0 (0x0)
mmap(0x0,8384512,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D
34376724480 (0x801033000)
munmap(0x801033000,3985408)                      =3D 0 (0x0)
munmap(0x801800000,204800)                       =3D 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTST=
P|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|S=
IGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) =3D 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 =3D 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTST=
P|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|S=
IGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) =3D 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 =3D 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTST=
P|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|S=
IGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) =3D 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 =3D 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTST=
P|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|S=
IGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) =3D 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 =3D 0 (0x0)
ioctl(1,0x402c7413 { IOR 0x74('t'), 19, 44 },0xffffe3e0) =3D 0 (0x0)
ioctl(1,0x40087468 { IOR 0x74('t'), 104, 8 },0xffffea80) =3D 0 (0x0)
getuid()                                         =3D 0 (0x0)
mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D
34384904192 (0x801800000)
fstatat(AT_FDCWD,".",{ mode=3Ddrwx------ ,inode=3D19925542,size=3D4,blksize=
=3D4096
},0x0) =3D 0 (0x0)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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