Bug 23887

Summary: panic: softdep_disk_write_complete: lock is held
Product: Base System Reporter: furio+fb <furio+fb>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.5.1-RELEASE   
Hardware: Any   
OS: Any   

Description furio+fb 2000-12-27 16:00:01 UTC
Kernel crashes under heavy disk (and perhaps also CPU) load.  
Nothing in logs (as the problem affects the filesystem holding /var).
Observed on console:

panic: softdep_fsync: pending ops
mp_lock=01000001 ; cpu id=1 ; lapic.id=00000

syncing disks ... panic: softdep_disk_write_complete: lock is held
mp_lock=01000001; cpu id=1 ; lapic.id=00000
[...] 

The problem goes away is softupdates is disabled.

Fix: 

No fix known other than disabling Softupdates.
How-To-Repeat: Problem occurs randomly; system must be under high I/O load.
Problem goes away by turning off softupdates.  This is how we
are running now, as this is a production server.
It is difficult for us to do testing/debugging right now.
Production is likely to be moved elsewhere on feb 2001; we
would like to avoid the problem on the new server, which will
run a 4.x based release.
Comment 1 iedowse freebsd_committer freebsd_triage 2001-11-18 19:39:50 UTC
State Changed
From-To: open->feedback


Does this still occur with more recent releases?
Comment 2 iedowse freebsd_committer freebsd_triage 2001-11-18 20:30:11 UTC
State Changed
From-To: feedback->closed


Submitter says that the problem is fixed. Thanks!