[Bug 211497] ls hangs while listng files in zfs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 1 09:33:55 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211497

            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 at FreeBSD.org
          Reporter: ip at surftown.com
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at 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 at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC 
amd64

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

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

root at zst7:~ #truss ls

mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34366181376
(0x800625000)
issetugid()                                      = 0 (0x0)
lstat("/etc",{ mode=drwxr-xr-x ,inode=235390848,size=2560,blksize=32768 }) = 0
(0x0)
lstat("/etc/libmap.conf",{ mode=-rw-r--r--
,inode=235391302,size=109,blksize=32768 }) = 0 (0x0)
openat(AT_FDCWD,"/etc/libmap.conf",O_CLOEXEC,00) = 3 (0x3)
fstat(3,{ mode=-rw-r--r-- ,inode=235391302,size=109,blksize=32768 }) = 0 (0x0)
mmap(0x0,109,PROT_READ,MAP_PRIVATE,3,0x0)        = 34366214144 (0x80062d000)
close(3)                                         = 0 (0x0)
lstat("/usr",{ mode=drwxr-xr-x ,inode=2086656,size=512,blksize=32768 }) = 0
(0x0)
lstat("/usr/local",{ mode=drwxr-xr-x ,inode=2086666,size=512,blksize=32768 }) =
0 (0x0)
lstat("/usr/local/etc",{ mode=drwxr-xr-x ,inode=2981741,size=512,blksize=32768
}) = 0 (0x0)
lstat("/usr/local/etc/libmap.d",0x7fffffffc6b8)  ERR#2 'No such file or
directory'
munmap(0x80062d000,109)                          = 0 (0x0)
openat(AT_FDCWD,"/var/run/ld-elf.so.hints",O_CLOEXEC,00) = 3 (0x3)
read(3,"Ehnt\^A\0\0\0\M^@\0\0\0Q\0\0\0\0"...,128) = 128 (0x80)
lseek(3,0x80,SEEK_SET)                           = 128 (0x80)
read(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,81) = 81 (0x51)
close(3)                                         = 0 (0x0)
access("/lib/libutil.so.9",F_OK)                 = 0 (0x0)
openat(AT_FDCWD,"/lib/libutil.so.9",O_CLOEXEC,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=339563238,size=72944,blksize=32768 }) = 0
(0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366214144
(0x80062d000)
mmap(0x0,2174976,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =
34368282624 (0x800826000)
mmap(0x800826000,65536,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0)
= 34368282624 (0x800826000)
mmap(0x800a36000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x10000)
= 34370445312 (0x800a36000)
mmap(0x800a37000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0)
= 34370449408 (0x800a37000)
munmap(0x80062d000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
access("/lib/libncurses.so.8",F_OK)              = 0 (0x0)
openat(AT_FDCWD,"/lib/libncurses.so.8",O_CLOEXEC,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=339563226,size=314136,blksize=32768 }) = 0
(0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366214144
(0x80062d000)
mmap(0x0,2412544,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =
34370457600 (0x800a39000)
mmap(0x800a39000,294912,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0)
= 34370457600 (0x800a39000)
mmap(0x800c81000,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x48000)
= 34372849664 (0x800c81000)
munmap(0x80062d000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
access("/lib/libc.so.7",F_OK)                    = 0 (0x0)
openat(AT_FDCWD,"/lib/libc.so.7",O_CLOEXEC,00)   = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=339563207,size=1647104,blksize=32768 }) = 0
(0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366214144
(0x80062d000)
mmap(0x0,3854336,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =
34372870144 (0x800c86000)
mmap(0x800c86000,1536000,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0)
= 34372870144 (0x800c86000)
mmap(0x800ffd000,49152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x177000)
= 34376503296 (0x800ffd000)
mmap(0x801009000,172032,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0)
= 34376552448 (0x801009000)
munmap(0x80062d000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
munmap(0x80062c000,4096)                         = 0 (0x0)
mmap(0x0,40960,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34366210048
(0x80062c000)
munmap(0x800632000,16384)                        = 0 (0x0)
mmap(0x0,102400,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34366234624
(0x800632000)
sysarch(AMD64_SET_FSBASE,0x7fffffffe098)         = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
readlink("/etc/malloc.conf",0x7fffffffd7c0,1024) ERR#2 'No such file or
directory'
issetugid()                                      = 0 (0x0)
mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
34376724480 (0x801033000)
munmap(0x801033000,4194304)                      = 0 (0x0)
mmap(0x0,8384512,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
34376724480 (0x801033000)
munmap(0x801033000,3985408)                      = 0 (0x0)
munmap(0x801800000,204800)                       = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
ioctl(1,0x402c7413 { IOR 0x74('t'), 19, 44 },0xffffe3e0) = 0 (0x0)
ioctl(1,0x40087468 { IOR 0x74('t'), 104, 8 },0xffffea80) = 0 (0x0)
getuid()                                         = 0 (0x0)
mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
34384904192 (0x801800000)
fstatat(AT_FDCWD,".",{ mode=drwx------ ,inode=19925542,size=4,blksize=4096
},0x0) = 0 (0x0)

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


More information about the freebsd-amd64 mailing list