Robert Mustacchi via smartos-discuss wrote:
On 3/7/15 11:10 , Ian Collins via smartos-discuss wrote:
Robert Mustacchi via smartos-discuss wrote:
On 3/7/15 1:22 , Ian Collins via smartos-discuss wrote:
This afternoon I upgraded my test box and ran the test again.  This
caused the Ubuntu KVM to lock up completely (hogging 100% of a core).
Not a good result.

The VM is still locked up if anyone want's me to investigate why.

A cursory glance with truss shows cycles similar to:

/3:    ioctl(16, _ION(0xae, 128, 0), 0x00000000)    = 0
/3:    ioctl(16, _ION(0xae, 128, 0), 0x00000000)    = 0
/11:        Received signal #14, SIGALRM, in sigtimedwait() [caught]
/11:          siginfo: SIGALRM pid=11606 uid=0 code=-3
/11:    sigtimedwait(0x2010673D0, 0xFFFFFD7FFD7C3C60, 0x00000000) =
SIGALRM
/11:    write(26, "0E\0\0\0\0\0\0\0\0\0\0\0".., 128)    = 128
/1:    pollsys(0xFFFFFD7FFFDF9150, 9, 0xFFFFFD7FFFDF9330, 0x00000000)
= 1
/1:    read(25, "0E\0\0\0\0\0\0\0\0\0\0\0".., 128)    = 128
/1:    sigaction(SIGALRM, 0x00000000, 0xFFFFFD7FFFDF92A0) = 0
/1:    write(9, "01\0\0\0\0\0\0\0", 8)            = 8
/1:    read(25, 0xFFFFFD7FFFDF92C0, 128)        Err#11 EAGAIN
/1:    pollsys(0xFFFFFD7FFFDF9150, 9, 0xFFFFFD7FFFDF9330, 0x00000000)
= 1
/1:    read(8, "01\0\0\0\0\0\0\0", 512)        = 8

Most of the KVM threads that we care about are in the kernel. What does
mdb -ke '0t<qemu pid>::pid2proc | ::walk thread | ::findstack -v' show?
Hmm, so there are threads that are actively running inside the VM. What
does kvmstat show here?

# kvmstat 30
pid vcpu | exits : haltx irqx irqwx iox mmiox | irqs emul eptv
 11445    0 |     51 :      7      1      1      9      1 | 8     31      0
 11445    1 |     50 :      6      1      0      8      1 | 7     33      0
 11583    0 |      5 :      1      0      0      0      0 | 1      4      0
 11583    1 |      8 :      1      0      0      0      0 | 1      6      0
 11583    2 |      5 :      1      0      0      0      0 | 1      4      0
 11583    3 |      6 :      1      0      0      0      0 | 1      4      0
 11583    4 |      5 :      1      0      0      0      0 | 1      4      0
 11583    5 |     12 :      2      0      0      0      0 | 2     10      0
 11583    6 |      6 :      1      0      0      0      0 | 1      4      0
 11583    7 |      7 :      1      0      0      0      0 | 1      5      0
 11606    0 |    143 :      0    123      0     20      0 | 0      0      0
 11606    1 |      0 :      0      0      0      0      0 | 0      0      0
 11606    2 |      0 :      0      0      0      0      0 | 0      0      0
 11606    3 |      0 :      0      0      0      0      0 | 0      0      0
 11606    4 |      0 :      0      0      0      0      0 | 0      0      0
 11606    5 |      0 :      0      0      0      0      0 | 0      0      0
 11606    6 |      0 :      0      0      0      0      0 | 0      0      0
 11606    7 |      0 :      0      0      0      0      0 | 0      0      0

11606 is the stuck guest.

--
Ian.



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to