Date: Fri, 10 Nov 2000 18:18:16 -0800 (PST) From: dannyman@tellme.com To: FreeBSD-gnats-submit@freebsd.org Cc: dannyman@tellme.com, doyle@tellme.com, firooz@tellme.com Subject: bin/22761: ls locks up on directory listing Message-ID: <20001111021816.8A15B71658@never.tellme.com>
next in thread | raw e-mail | index | archive | help
>Number: 22761 >Category: bin >Synopsis: ls locks up on directory listing >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 10 18:20:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: >Release: FreeBSD 3.5-RELEASE i386 >Organization: Tellme Networks >Environment: From a NetApp: foghorn.corp:/home on /home (nfs) 0-18:02 dannyman@never ~> nfsstat Client Info: Rpc Counts: Getattr Setattr Lookup Readlink Read Write Create Remove 13041551 981861 18010114 18498 10223952 5019183 309187 323239 Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Access 120565 33858 2595 5077 2723 5170063 0 11546524 Mknod Fsstat Fsinfo PathConf Commit GLease Vacate Evict 0 2702224 10 0 285030 0 0 0 Rpc Info: TimedOut Invalid X Replies Retries Requests 0 0 11287 52263 67796254 Cache Info: Attr Hits Misses Lkup Hits Misses BioR Hits Misses BioW Hits Misses 245204053 13041551 132377762 18007772 60547599 9129326 2187979 5019183 BioRLHits Misses BioD Hits Misses DirE Hits Misses 537895 18498 14111657 3887028 2419685 849 Server Info: Getattr Setattr Lookup Readlink Read Write Create Remove 0 0 0 0 0 0 0 0 Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Access 0 0 0 0 0 0 0 0 Mknod Fsstat Fsinfo PathConf Commit GLease Vacate Evict 0 0 0 0 0 0 0 0 Server Ret-Failed 0 Server Faults 0 Server Cache Stats: Inprog Idem Non-idem Misses 0 0 0 0 Server Lease Stats: Leases PeakL GLeases 0 0 0 Server Write Gathering: WriteOps WriteRPC Opsaved 0 0 0 0-18:02 dannyman@never ~> uname -r 3.5-RELEASE >Description: 0-18:05 dannyman@never ~> truss ls ~firooz/work/feeds/incoming/sportsticker/11-10 syscall ioctl(1,TIOCGETA,0xbfbfd96c) returns 0 (0x0) syscall ioctl(1,TIOCGWINSZ,0xbfbfd9bc) returns 0 (0x0) syscall getuid() returns 501 (0x1f5) syscall readlink("/etc/malloc.conf",0xbfbfd8f0,63) errno 2 'No such file or directory' syscall mmap(0x0,4096,0x3,0x1002,-1,0x0) returns 671551488 (0x28071000) syscall break(0x807d000) returns 0 (0x0) syscall break(0x807e000) returns 0 (0x0) syscall break(0x807f000) returns 0 (0x0) syscall break(0x8080000) returns 0 (0x0) syscall stat("/home/firooz/work/feeds/incoming/sportsticker/11-10",0xbfbfd8d8) returns 0 (0x0) syscall open(".",0,00) returns 3 (0x3) syscall fchdir(0x3) returns 0 (0x0) syscall stat("/home/firooz/work/feeds/incoming/sportsticker/11-10",0xbfbfd8ac) returns 0 (0x0) Command works on all other systems, including Solaris x86, Linux, and a 3.5-STABLE running a non-SMP kernel. User reports that he can not get directory listing via FTP, or od the directory. Can not ^C or ^Z in tcsh or zsh, can not kill or kill -9 the process: 0-18:15 dannyman@never ~> ps -u dannyman | grep ls dannyman 91056 0.0 0.0 356 196 r5- D 5:50PM 0:00.00 ls -F -l /home/ dannyman 95831 0.0 0.1 836 464 rg I+ 6:05PM 0:00.03 truss ls /home/ dannyman 95833 0.0 0.0 356 196 rg D+ 6:05PM 0:00.01 ls /home/firooz 0-18:15 dannyman@never ~> kill 91056 95831 95833 0-18:15 dannyman@never ~> kill -9 91056 95831 95833 0-18:16 dannyman@never ~> ps -u dannyman | grep ls dannyman 91056 0.0 0.0 356 196 r5- D 5:50PM 0:00.00 ls -F -l /home/ dannyman 95833 0.0 0.0 356 196 rg D 6:05PM 0:00.01 ls /home/firooz Okay, so I was able to kill truss. :) I am able to cat an arbitrary file within the directory. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001111021816.8A15B71658>