Reproduceable freeze with quotas enabled
rwatson at FreeBSD.org
Fri Nov 4 01:54:09 PST 2005
On Thu, 3 Nov 2005, Attila Nagy wrote:
> 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:
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?
> Attila Nagy e-mail: Attila.Nagy at fsn.hu
> Free Software Network (FSN.HU) phone: +3630 306 6758
> ISOs: http://www.fsn.hu/?f=download
> freebsd-hackers at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
More information about the freebsd-hackers