Date: Fri, 18 Feb 2000 02:30:00 -0500 From: "David E. Cross" <crossd@cs.rpi.edu> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: "David E. Cross" <crossd@cs.rpi.edu>, freebsd-hackers@FreeBSD.ORG, crossd@cs.rpi.edu Subject: Re: stuck NFS procs (LONG) Message-ID: <200002180730.CAA14119@cs.rpi.edu> In-Reply-To: Message from Matthew Dillon <dillon@apollo.backplane.com> of "Thu, 17 Feb 2000 22:12:01 PST." <200002180612.WAA74819@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ok... we'll start with the process table... monica# ps axl | grep D UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 0 0 0 0 -18 0 0 0 sched DLs ?? 0:00.81 (swapper) 0 2 0 0 -18 0 0 0 psleep DL ?? 1:10.93 (pagedaemon 0 3 0 91 18 0 0 0 psleep DL ?? 0:26.62 (vmdaemon) 0 4 0 0 18 0 0 0 syncer DL ?? 1:51.82 (syncer) 17727 74079 1 0 -22 0 5952 340 vmpfw D p4- 0:01.53 emacs websrv 17727 74586 1 0 -22 0 5952 340 vmpfw D p4- 0:01.55 emacs websrv 33639 88342 1 0 -22 0 5856 340 vmpfw D p4- 0:01.27 emacs proxy. 2371 90317 1 3 -18 0 268 8 pgtblk D p4- 0:00.02 cat /usr/loc 2646 83637 1 0 -22 0 6256 528 vmpfw D p9- 0:03.56 emacs 2646 85055 1 0 -22 0 6344 528 vmpfw D p9- 0:03.00 emacs 2937 89546 1 0 -22 0 5576 340 vmpfw D pa 0:00.55 emacs /usr/t 2575 75559 1 0 -22 0 5652 340 vmpfw D pf- 0:00.99 emacs simple 2575 78298 1 0 -22 0 5576 340 vmpfw D pj- 0:00.97 emacs watchf 32837 85464 1 0 -22 0 6264 528 vmpfw D pj- 0:02.81 emacs proj2. 32837 87204 1 0 -22 0 6264 528 vmpfw D pj- 0:03.75 emacs proj2. 17727 90346 1 2 -22 0 5940 344 vmpfw D pk- 0:01.23 emacs comm.c 2575 76313 1 0 -22 0 5656 340 vmpfw D pl- 0:01.54 emacs show_p 33355 84406 1 3 -22 0 7136 528 vmpfw D pl- 0:04.54 emacs osshel 33355 85094 1 0 -22 0 7184 528 vmpfw D pl- 0:04.52 emacs 17727 90000 1 0 -22 0 5940 340 vmpfw D pl- 0:01.17 emacs comm.c 0 64921 63848 0 10 0 476 292 ppwait D pt 0:00.07 -su (csh) 2551 75473 1 0 -22 0 7284 524 vmpfw D q4- 0:05.27 emacs tftp_s 2023 77402 1 0 -22 0 5672 340 vmpfw D q8- 0:00.71 emacs index. 37080 79999 1 0 -22 0 6208 524 vmpfw D q8- 0:02.61 emacs bogosj 2440 86790 1 0 -22 0 7176 524 vmpfw D q9- 0:05.37 emacs bardet 2440 88149 1 1 -22 0 7244 524 vmpfw D q9- 0:04.91 emacs bardet 17727 89837 1 1 -22 0 5940 340 vmpfw D qd- 0:01.13 emacs comm.c 33639 88194 1 0 -22 0 5856 340 vmpfw D qi- 0:01.34 emacs proxy. And we'll move on to some backtraces... (kgdb) proc 74079 (kgdb) back #0 mi_switch () at ../../kern/kern_synch.c:825 #1 0xc0131781 in tsleep (ident=0xc054b220, priority=0, wmesg=0xc0208bc2 "vmpfw", timo=0) at ../../kern/kern_synch.c:443 #2 0xc01cfa3f in vm_fault (map=0xca8028c0, vaddr=136036352, fault_type=3 '\003', fault_flags=8) at ../../vm/vm_fault.c:308 #3 0xc01ea17a in trap_pfault (frame=0xcac7ffbc, usermode=1, eva=136036368) at ../../i386/i386/trap.c:816 #4 0xc01e9cca in trap (frame={tf_es = 136249383, tf_ds = -1078001625, tf_edi = 400, tf_esi = 10, tf_ebp = -1078114780, tf_isp = -892862492, tf_ebx = -1078110248, tf_edx = 136036332, tf_ecx = 137580544, tf_eax = 1210023680, tf_trapno = 12, tf_err = 6, tf_eip = 134831395, tf_cs = 31, tf_eflags = 66195, tf_esp = -1078114788, tf_ss = 39}) at ../../i386/i386/trap.c:358 (kgdb) proc 74586 (kgdb) back #0 mi_switch () at ../../kern/kern_synch.c:825 #1 0xc0131781 in tsleep (ident=0xc054b220, priority=0, wmesg=0xc0208bc2 "vmpfw", timo=0) at ../../kern/kern_synch.c:443 #2 0xc01cfa3f in vm_fault (map=0xca6262c0, vaddr=136036352, fault_type=3 '\003', fault_flags=8) at ../../vm/vm_fault.c:308 #3 0xc01ea17a in trap_pfault (frame=0xcac58fbc, usermode=1, eva=136036368) at ../../i386/i386/trap.c:816 #4 0xc01e9cca in trap (frame={tf_es = 39, tf_ds = 39, tf_edi = 2320, tf_esi = 58, tf_ebp = -1078114780, tf_isp = -893022236, tf_ebx = -1078108328, tf_edx = 136036332, tf_ecx = 137580544, tf_eax = 1210023680, tf_trapno = 12, tf_err = 6, tf_eip = 134831395, tf_cs = 31, tf_eflags = 66195, tf_esp = -1078114788, tf_ss = 39}) at ../../i386/i386/trap.c:358 (kgdb) proc 88342 (kgdb) back #0 mi_switch () at ../../kern/kern_synch.c:825 #1 0xc0131781 in tsleep (ident=0xc054b220, priority=0, wmesg=0xc0208bc2 "vmpfw", timo=0) at ../../kern/kern_synch.c:443 #2 0xc01cfa3f in vm_fault (map=0xca801240, vaddr=136036352, fault_type=3 '\003', fault_flags=8) at ../../vm/vm_fault.c:308 #3 0xc01ea17a in trap_pfault (frame=0xca973fbc, usermode=1, eva=136036368) at ../../i386/i386/trap.c:816 #4 0xc01e9cca in trap (frame={tf_es = 39, tf_ds = 39, tf_edi = 0, tf_esi = 0, tf_ebp = -1078114664, tf_isp = -896057372, tf_ebx = -1078110532, tf_edx = 136036332, tf_ecx = -1078110532, tf_eax = 1210023680, tf_trapno = 12, tf_err = 6, tf_eip = 134831395, tf_cs = 31, tf_eflags = 66195, tf_esp = -1078114672, tf_ss = 39}) at ../../i386/i386/trap.c:358 (this is the cat(1)) (kgdb) proc 90317 (kgdb) back #0 mi_switch () at ../../kern/kern_synch.c:825 #1 0xc0131781 in tsleep (ident=0xc054b220, priority=4, wmesg=0xc01ff83c "pgtblk", timo=0) at ../../kern/kern_synch.c:443 #2 0xc014ea7c in allocbuf (bp=0xc532ec08, size=8192) at ../../kern/vfs_bio.c:1805 #3 0xc014e5b0 in getblk (vp=0xca69b240, blkno=185, size=8192, slpflag=0, slptimeo=0) at ../../kern/vfs_bio.c:1566 #4 0xc0180cde in nfs_getcacheblk (vp=0xca69b240, bn=185, size=8192, p=0xcac45520) at ../../nfs/nfs_bio.c:914 #5 0xc017f9db in nfs_bioread (vp=0xca69b240, uio=0xcacbdf10, ioflag=8323072, cred=0xc16d4180, getpages=0) at ../../nfs/nfs_bio.c:409 #6 0xc01a5204 in nfs_read (ap=0xcacbdec8) at ../../nfs/nfs_vnops.c:963 #7 0xc0159f4f in vn_read (fp=0xc16268c0, uio=0xcacbdf10, cred=0xc16d4180, flags=0) at vnode_if.h:303 #8 0xc013a06d in dofileread (p=0xcac45520, fp=0xc16268c0, fd=3, buf=0x805a000, nbyte=65536, offset=-1, flags=0) at ../../kern/sys_generic.c:179 #9 0xc0139f77 in read (p=0xcac45520, uap=0xcacbdf94) at ../../kern/sys_generic.c:111 #10 0xc01ea777 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 1, tf_esi = 65536, tf_ebp = -1077945672, tf_isp = -892608540, tf_ebx = 0, tf_edx = 16, tf_ecx = 13, tf_eax = 3, tf_trapno = 0, tf_err = 2, tf_eip = 134515596, tf_cs = 31, tf_eflags = 582, tf_esp = -1077945796, tf_ss = 39}) at ../../i386/i386/trap.c:1100 I'll stop here. -- David Cross | email: crossd@cs.rpi.edu Acting Lab Director | NYSLP: FREEBSD Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002180730.CAA14119>