From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 4 09:54:09 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A207C16A41F; Fri, 4 Nov 2005 09:54:09 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16B7B43D45; Fri, 4 Nov 2005 09:54:09 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id BE2D546B17; Fri, 4 Nov 2005 04:54:08 -0500 (EST) Date: Fri, 4 Nov 2005 09:54:08 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Attila Nagy In-Reply-To: <436A868F.4010606@fsn.hu> Message-ID: <20051104095129.M9692@fledge.watson.org> References: <436A868F.4010606@fsn.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: Reproduceable freeze with quotas enabled X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 09:54:09 -0000 On Thu, 3 Nov 2005, Attila Nagy wrote: > Hello, > > I have an "easily" (at least to me) reproduceable freeze with both > 6-STABLE and 7-CURRENT on an amd64 SMP machine. > > What I do is simply copy a lot of directories, files and symlinks with > different uids from another machine to this one, using rsync. This is probably a vnode lock leak or deadlock. As it looks like you have both the ability to get into the debugger and also a serial or other remote console, the output of: show allpcpu alltrace show lockedvnods show allocks would be helpful. There are also "options DEBUG_LOCKS" which extends the debugging information available via "show lockedvnods" with information about where the lock was acquired, which can be quite helpful. Robert N M Watson > > With quotas enabled it freezes constantly, without quotas it doesn't. > > I have MP_WATCHDOG enabled (the kernel config is the default GENERIC+SMP with > debuggers and MP_WATCHDOG only) so after the freeze it drops me into the > debugger in which I can see the following: > > FreeBSD/amd64 (helen) (ttyv0) > > login: Watchdog timer: 3 > Watchdog timer: 2 > Watchdog timer: 1 > Watchdog timer: 0 > Watchdog firing! > NMI ... going to debugger > [thread pid 157 tid 100143 ] > Stopped at vinactive+0x83: jz 0x365245a9 > db> bt > Tracing pid 157 tid 100143 td 0xffffff007b9c14c0 > vinactive() at vinactive+0x83 > vput() at vput+0x1cf > qsync() at qsync+0x260 > ffs_sync() at ffs_sync+0x159 > sync_fsync() at sync_fsync+0x191 > VOP_FSYNC_APV() at VOP_FSYNC_APV+0x3d > sched_sync() at sched_sync+0x428 > fork_exit() at fork_exit+0x86 > fork_trampoline() at fork_trampoline+0xe > --- trap 0, rip = 0, rsp = 0xffffffffb2029d00, rbp = 0 --- > db> ps > 157 ffffff007b9489c0 0 0 0 0000204 [CPU 0] syncer > > Any ideas? > > Thanks, > -- > Attila Nagy e-mail: Attila.Nagy@fsn.hu > Free Software Network (FSN.HU) phone: +3630 306 6758 > ISOs: http://www.fsn.hu/?f=download > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >