[oi-dev] Livedump hangs

Vishwas D mntnkng2001 at hotmail.com
Fri Apr 6 23:44:40 UTC 2012



Hello all,
I'm running kernel. 
root at VishDomain:~# uname -a
SunOS VishDomain 5.11 illumos-gate-151 i86pc i386 i86pc Solaris

When attempt a livedump using savecore -L, the command reports 100% dump completion but never returns. Looking at the hang, it appears that the helper threads are hung waiting for work.

Here are the helper threads:
stack pointer for thread ffffff005d65cc40: ffffff005d65c9a0
[ ffffff005d65c9a0 _resume_from_idle+0xf1() ]
  ffffff005d65c9d0 swtch+0x1e6()
  ffffff005d65ca00 cv_wait+0x7f()
  ffffff005d65ca50 dumpsys_wait_cq+0xc7()
  ffffff005d65cab0 dumpsys_get_cq+0x12c()
  ffffff005d65caf0 dumpsys_sread+0x13b()
  ffffff005d65cb40 dumpsys_lzjbcompress+0x7e()
  ffffff005d65cb70 dumpsys_live_helper+0x75()
  ffffff005d65cc20 taskq_thread+0x29e()
  ffffff005d65cc30 thread_start+8()
stack pointer for thread ffffff005cce6c40: ffffff005cce69a0
[ ffffff005cce69a0 _resume_from_idle+0xf1() ]
  ffffff005cce69d0 swtch+0x1e6()
  ffffff005cce6a00 cv_wait+0x7f()
  ffffff005cce6a50 dumpsys_wait_cq+0xc7()
  ffffff005cce6ab0 dumpsys_get_cq+0x12c()
  ffffff005cce6af0 dumpsys_sread+0x13b()
  ffffff005cce6b40 dumpsys_lzjbcompress+0x7e()
  ffffff005cce6b70 dumpsys_live_helper+0x75()
  ffffff005cce6c20 taskq_thread+0x29e()
  ffffff005cce6c30 thread_start+8()
stack pointer for thread ffffff005dbd7c40: ffffff005dbd79a0
[ ffffff005dbd79a0 _resume_from_idle+0xf1() ]
  ffffff005dbd79d0 swtch+0x1e6()
  ffffff005dbd7a00 cv_wait+0x7f()
  ffffff005dbd7a50 dumpsys_wait_cq+0xc7()
  ffffff005dbd7ab0 dumpsys_get_cq+0x12c()
  ffffff005dbd7af0 dumpsys_sread+0x13b()
  ffffff005dbd7b40 dumpsys_lzjbcompress+0x7e()
  ffffff005dbd7b70 dumpsys_live_helper+0x75()
  ffffff005dbd7c20 taskq_thread+0x29e()
  ffffff005dbd7c30 thread_start+8()
stack pointer for thread ffffff005d9bcc40: ffffff005d9bc9a0
[ ffffff005d9bc9a0 _resume_from_idle+0xf1() ]
  ffffff005d9bc9d0 swtch+0x1e6()
  ffffff005d9bca00 cv_wait+0x7f()
  ffffff005d9bca50 dumpsys_wait_cq+0xc7()
  ffffff005d9bcab0 dumpsys_get_cq+0x12c()
  ffffff005d9bcaf0 dumpsys_sread+0x13b()
  ffffff005d9bcb40 dumpsys_lzjbcompress+0x7e()
  ffffff005d9bcb70 dumpsys_live_helper+0x75()
  ffffff005d9bcc20 taskq_thread+0x29e()
  ffffff005d9bcc30 thread_start+8()

And the main thread is waiting on the cqueue_t 

> dumpsync::print
{
    npages = 0x14d26e
    pages_mapped = 0x1e049d
    pages_used = 0x14d26e
    nwrite = 0x41a8f000
    live = 0x1
    neednl = 0x1
    percent = 0x64
    percent_done = 0x64
    freebufq = {
        first = 0xffffff0e102c1580
        last = 0xffffff0e102c1778
        ts = 0
        empty = 0
        mutex = {
            _opaque = [ 0 ]
        }
        cv = {
            _opaque = 0
        }
        spinlock = 0
        open = 0x1
    }
    mainq = {
        first = 0
        last = 0
        ts = 0x3ba57c653952
        empty = 0
        mutex = {
            _opaque = [ 0 ]
        }
        cv = {
            _opaque = 0x1
        }
        spinlock = 0
        open = 0x4   <-- main thread is waiting on this count.
    }

Is this is a know isssue?

Thanks,
Vish

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20120406/a525de08/attachment-0004.html>


More information about the oi-dev mailing list