All pastes #987306 Raw Edit

Someone

public text v1 · immutable
·published 2008-04-16 12:47 UTC
rendered paste body
Bug ID: 6513208

Synopsis: hang in vmem_xalloc with plenty of free memory & VA

Category: kernel

Subcategory: zfs

State: 11-Closed

Description: 

I was running stress tests over the weekend against the 1/12 nightly non-debug. During stress004, the system hung during an 'rm -rf' of some files and directories.

bash-3.00# mdb -k 8
Loading modules: [ unix krtld genunix specfs dtrace cpu.AuthenticAMD.15 uppc pcplusmp scsi_vhci ufs ip hook neti sctp arp usba uhci s1394 nca lofs md cpc random crypto zfs fcip fctl fcp logindmux ptm sppp nfs ]> $<utsname
{
    sysname = [ "SunOS" ]
    nodename = [ "x4500-1901-2" ]
    release = [ "5.11" ]
    version = [ "onnv-gate:2007-01-12" ]
    machine = [ "i86pc" ]
}> $c
kdi_dvec_enter+0x10()
debug_enter+0x37(0)
abort_sequence_enter+0x35(0)
async_rxint+0x24d(ffffffff9a667d80, f9)
asyintr+0xc7(ffffffff9a667d80)
av_dispatch_autovect+0x7b(4)
_interrupt+0x155()
cpu_halt+0xc5()
idle+0x116()
thread_start+8()>

Some of the rm threads:

fffffe8331c7a0a0 fffffe834e5335d0 fffffe841069f840   1  60 ffffffffc026e690
  PC: _resume_from_idle+0xf8    CMD: rm -rf /testdir.22307.0/files.24515
  stack pointer for thread fffffe8331c7a0a0: fffffe800693f410
  [ fffffe800693f410 _resume_from_idle+0xf8() ]
    swtch+0x167()
    turnstile_block+0x76b()
    mutex_vector_enter+0x315()
    buf_hash_find+0x5a()
    arc_read+0x5d()
    dbuf_read_impl+0x137()
    dbuf_read+0xc5()
    dmu_buf_hold+0x9c()
    zap_lockdir+0x56()
    zap_cursor_retrieve+0x66()



ffffffffb20fd160 fffffe84dddf0030 fffffe846da06290   1  60 ffffffffc026c090
  PC: _resume_from_idle+0xf8    CMD: rm -rf /testdir.23105.0/files.24520
  stack pointer for thread ffffffffb20fd160: fffffe8000e69410
  [ fffffe8000e69410 _resume_from_idle+0xf8() ]
    swtch+0x167()
    turnstile_block+0x76b()
    mutex_vector_enter+0x315()
    buf_hash_find+0x5a()
    arc_read+0x5d()
    dbuf_read_impl+0x137()
    dbuf_read+0xc5()
    dmu_buf_hold+0x9c()
    zap_lockdir+0x56()
    zap_cursor_retrieve+0x66()
    zfs_purgedir+0x44()
    zfs_rmnode+0x4f()
    zfs_zinactive+0xe9()
    zfs_inactive+0xef()
    fop_inactive+0x98()
    vn_rele+0x5c()
    zfs_remove+0x438()
    fop_remove+0x2b()


fffffe8445021e60 fffffe833c7d5b10 fffffe831c3b3660   1  60 ffffffffc026a950
  PC: _resume_from_idle+0xf8    CMD: rm -rf /testdir.23764.0/files.25593
  stack pointer for thread fffffe8445021e60: fffffe8000dd9640
  [ fffffe8000dd9640 _resume_from_idle+0xf8() ]
    swtch+0x167()
    turnstile_block+0x76b()
    mutex_vector_enter+0x315()
    buf_hash_find+0x5a()
    arc_read+0x5d()
    dbuf_read_impl+0x137()
    dbuf_read+0xc5()
    dmu_buf_hold+0x9c()
    zap_lockdir+0x56()
    zap_cursor_retrieve+0x66()
    zfs_readdir+0x20a()
    fop_readdir+0x3e()
    getdents64+0xbd()
    sys_syscall32+0x101()

    Date Modified: 2007-01-15 13:50:35 GMT+00:00


Work Around: 

Suggested Fix: 

Evaluation: 

Fixed by patch: 

Integrated in Build: 

Duplicate of: 6554564

Related Change Request(s):

6506748  6519262 

Date Modified: 2008-02-25 23:45:59 GMT+00:00

Public Summary: