Date: Fri, 8 Nov 2002 10:59:56 +0100 From: Andrea Campi <andrea@webcom.it> To: current@freebsd.org Subject: Deadlock during buildworld Message-ID: <20021108095956.GA44675@webcom.it>
next in thread | raw e-mail | index | archive | help
Hi all, for months now I've been having a reproducible hang under load (make -j4 buildworld on a uniprocessor with plenty of RAM). I transcribed some info which might be useful to debug it; it seems to me this is a deadlock (am I right?). I'll leave the laptop in ddb so I can provide more info. This is last week current; I had seen a few commits I thought might fix this but no. db> show locked Locked vnodes 0xc202ca68: tag ufs, type VDIR, usecont 1, writecount 0, refcount 2, flags (VV_OBJBUF), lock type ufs: EXCL (count 1) by pid 53304 ino 31744, on dev ad2s2f (4, 16) 0xc27e04a0: tag ufs, type VREG, usecount 18, writecount 0, refcount 1, flags (VV_TEXT|VV_OBJBUF), lock type ufs: EXCL (count 1) by pid 53301 with 3 pending ino 87582, on dev ad2s2f (4, 16) 0xc2c13940: tag ufs, type VREG, usecount 18, writecount 0, refcount 1, flags (VV_TEXT|VV_OBJBUF), lock type ufs: EXCL (count 1) by pid 53302 with 3 pending ino 33113, on dev ad2s2f (4, 16) db> trace 53301 mi_switch(c303f340,44,0,0,0) at mi_switch+0x15e msleep(c0d260b4,c03aece8,44,c0349f69,0) at msleep+0x4e1 acquire(c0d260b4,1000000,600,c0d26078,d035) at acquire+0xa7 lockmgr(...) at lockmgt+0x3c8 _vm_map_lock(...) at _vm_map_lock+0x32 kmem_free_wakeup(...) at kmem_free_wakeup+0x2a execve syscall Xint080_syscall --- syscall(0, FreeBSD ELF32, nosys), eip = 0x80480c0, esp = 0xbfbff8dc, ebp = 0 db> trace 53302 mi_switch(c1f77a90,44,0,0,0) at mi_switch+0x15e msleep(c0d260b4,c03aece8,44,c0349f69,0) at msleep+0x4e1 acquire(c0d260b4,1000000,600,c0d26078,d035) at acquire+0xa7 lockmgr(...) at lockmgt+0x3c8 _vm_map_lock(...) at _vm_map_lock+0x32 kmem_free_wakeup(...) at kmem_free_wakeup+0x2a execve syscall Xint080_syscall --- syscall(0, FreeBSD ELF32, nosys), eip = 0x80480c0, esp = 0xbfbff8dc, ebp = 0 db> trace 53304 mi_switch(c22aa8f0,50,0,1000,0) at mi_switch+0x15e msleep(c2c13a04,c03af920,50,c0348e2f,0) at msleep+0x4e1 acquire(c2c13a04,1000040,600,c201b6f0,d035) at acquire+0xa7 lockmgr(...) at lockmgt+0x3c8 vop_stdlock(...) at vop_stdlock+0x2c ufs_vnoperate(...) at ufs_vnoperate+0x18 vn_lock(...) at vn_lock+0x11e vget(...) at vget+0x100 vfs_cache_lookup(...) at vfs_cache_lookup+0x1ed ufs_vnoperate(...) at ufs_vnoperate+0x18 lookup(...) at lookup+0x302 namei(...) at namei+0x20b execve syscall Xint080_syscall --- syscall(0, FreeBSD ELF32, nosys), eip = 0x80480c0, esp = 0xbfbff8dc, ebp = 0 Bye, Andrea To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021108095956.GA44675>