Hi,
I started the VMs with libvirt 3 days ago (17th Feb). Now when I am trying to shutdown
the domain, all my virsh command is hanging even virt-manager remains in
"connecting.." mode and is not showing active domains.When I set the libvirt
debug env and call "virsh list" it hangs in poll. Here is the logsetenv
LIBVIRT_DEBUG 1 virsh list
2017-02-21 05:31:09.241+0000: 125812: debug :virEventPollCalculateTimeout:320 : Calculate
expiry of 0 timers
2017-02-21 05:31:09.241+0000: 125811: debug :virEventPollUpdateHandle:146 :
EVENT_POLL_UPDATE_HANDLE: watch=2 events=0
2017-02-21 05:31:09.241+0000: 125812: debug :virEventPollCalculateTimeout:346 : Timeout at
0 due in -1 ms
2017-02-21 05:31:09.241+0000: 125812: debug :virEventPollRunOnce:614 : EVENT_POLL_RUN:
nhandles=2 timeout=-1
2017-02-21 05:31:09.241+0000: 125811: debug :virEventPollInterruptLocked:701 :
Interrupting
2017-02-21 05:31:09.241+0000: 125812: debug :virEventPollRunOnce:625 : Poll got 1
event(s)
2017-02-21 05:31:09.242+0000: 125812: debug :virEventPollDispatchTimeouts:410 : Dispatch
0
2017-02-21 05:31:09.242+0000: 125812: debug :virEventPollDispatchHandles:455 : Dispatch 2
2017-02-21 05:31:09.242+0000: 125812: debug :virEventPollDispatchHandles:469 : i=0 w=1
2017-02-21 05:31:09.242+0000: 125812: debug :virEventPollDispatchHandles:483 :
EVENT_POLL_DISPATCH_HANDLE: watch=1 events=1
2017-02-21 05:31:09.242+0000: 125812: debug :virEventPollCleanupTimeouts:501 : Cleanup 0
2017-02-21 05:31:09.242+0000: 125812: debug :virEventPollCleanupTimeouts:537 : Found 0 out
of 0 timeout slots used,releasing 0
2017-02-21 05:31:09.242+0000: 125812: debug :virEventPollCleanupHandles:549 : Cleanup 2
2017-02-21 05:31:09.242+0000: 125812: debug :virEventRunDefaultImpl:244 : running default
event implementation
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:501: Cleanup 0
2017-02-21 05:31:09.242+0000: 125812: debug :virEventPollCleanupTimeouts:537 : Found 0 out
of 0 timeout slots used,releasing 0
2017-02-21 05:31:09.242+0000: 125812: debug :virEventPollCleanupHandles:549 : Cleanup 2
2017-02-21 05:31:09.242+0000: 125812: debug :virEventPollMakePollFDs:378 : Prepare n=0
w=1, f=4 e=1 d=0
2017-02-21 05:31:09.242+0000: 125812: debug :virEventPollMakePollFDs:378 : Prepare n=1
w=2, f=6 e=0 d=0
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCalculateTimeout:320: Calculate
expiry of 0 timers
2017-02-21 05:31:09.242+0000: 125812: debug :virEventPollCalculateTimeout:346 : Timeout at
0 due in -1 ms
2017-02-21 05:31:09.242+0000: 125812: debug :virEventPollRunOnce:614 : EVENT_POLL_RUN:
nhandles=1 timeout=-1<<hang>>
here is the log snippet of /var/log/libvirt/libvirtd.log2017-02-17 06:18:26.198+0000:
5052: error :daemonStreamHandleAbort:609 : stream aborted at client request
2017-02-17 06:18:41.022+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-17 06:18:56.017+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-17 06:19:11.019+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-17 06:19:26.016+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-17 06:19:41.021+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-17 06:19:56.014+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-17 06:20:11.021+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-17 06:20:26.014+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-17 06:20:41.014+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-17 06:20:56.016+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-17 06:21:11.019+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-17 06:21:26.018+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-17 06:21:41.022+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-17 06:21:56.019+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-17 06:22:11.020+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-17 06:22:26.012+0000: 5052: error :daemonStreamHandleAbort:609 : stream aborted at
client request
2017-02-18 01:53:36.308+0000: 5052: warning :virKeepAliveTimerInternal:156 : No response
from client 0xe14160 after 5keepalive messages in 30 seconds
2017-02-18 01:53:47.346+0000: 5052: warning :virKeepAliveTimerInternal:156 : No response
from client 0xe14c70 after 5 keepalivemessages in 30 seconds
/var/log/libvirt/libvirtd.log
What could be the problem. I am running virsh (0.10.2) on RHEL6
Thanks for your help in advance.
RegardsAbhishek
Show replies by date
I have this problem in centos6.5
when I upgrade to centos 7.1 this problem is soluted
maybe you can upgrade your os version
发件人: libvirt-users-bounces(a)redhat.com [mailto:libvirt-users-bounces@redhat.com] 代表
abhishek jain
发送时间: 2017年2月21日 13:51
收件人: libvirt-users(a)redhat.com
主题: [libvirt-users] Virsh command hanging
Hi,
I started the VMs with libvirt 3 days ago (17th Feb). Now when I am trying to shutdown
the domain, all my virsh command is hanging even virt-manager remains in
"connecting.." mode and is not showing active domains.
When I set the libvirt debug env and call "virsh list" it hangs in poll.
Here is the log
setenv LIBVIRT_DEBUG 1 virsh list
2017-02-21 05:31:09.241+0000: 125812: debug : virEventPollCalculateTimeout:320 : Calculate
expiry of 0 timers
2017-02-21 05:31:09.241+0000: 125811: debug : virEventPollUpdateHandle:146 :
EVENT_POLL_UPDATE_HANDLE: watch=2 events=0
2017-02-21 05:31:09.241+0000: 125812: debug : virEventPollCalculateTimeout:346 : Timeout
at 0 due in -1 ms
2017-02-21 05:31:09.241+0000: 125812: debug : virEventPollRunOnce:614 : EVENT_POLL_RUN:
nhandles=2 timeout=-1
2017-02-21 05:31:09.241+0000: 125811: debug : virEventPollInterruptLocked:701 :
Interrupting
2017-02-21 05:31:09.241+0000: 125812: debug : virEventPollRunOnce:625 : Poll got 1
event(s)
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollDispatchTimeouts:410 : Dispatch
0
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollDispatchHandles:455 : Dispatch
2
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollDispatchHandles:469 : i=0 w=1
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollDispatchHandles:483 :
EVENT_POLL_DISPATCH_HANDLE: watch=1 events=1
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:501 : Cleanup 0
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:537 : Found 0
out of 0 timeout slots used, releasing 0
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCleanupHandles:549 : Cleanup 2
2017-02-21 05:31:09.242+0000: 125812: debug : virEventRunDefaultImpl:244 : running default
event implementation
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:501 : Cleanup 0
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:537 : Found 0
out of 0 timeout slots used, releasing 0
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCleanupHandles:549 : Cleanup 2
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollMakePollFDs:378 : Prepare n=0
w=1, f=4 e=1 d=0
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollMakePollFDs:378 : Prepare n=1
w=2, f=6 e=0 d=0
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCalculateTimeout:320 : Calculate
expiry of 0 timers
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCalculateTimeout:346 : Timeout
at 0 due in -1 ms
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollRunOnce:614 : EVENT_POLL_RUN:
nhandles=1 timeout=-1 <<hang>>
here is the log snippet of /var/log/libvirt/libvirtd.log
2017-02-17 06:18:26.198+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:18:41.022+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:18:56.017+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:19:11.019+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:19:26.016+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:19:41.021+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:19:56.014+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:20:11.021+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:20:26.014+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:20:41.014+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:20:56.016+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:21:11.019+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:21:26.018+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:21:41.022+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:21:56.019+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:22:11.020+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:22:26.012+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-18 01:53:36.308+0000: 5052: warning : virKeepAliveTimerInternal:156 : No response
from client 0xe14160 after 5 keepalive messages in 30 seconds
2017-02-18 01:53:47.346+0000: 5052: warning : virKeepAliveTimerInternal:156 : No response
from client 0xe14c70 after 5 keepalive messages in 30 seconds
/var/log/libvirt/libvirtd.log
What could be the problem. I am running virsh (0.10.2) on RHEL6
Thanks for your help in advance.
Regards
Abhishek
I can only use RHEL6.
Is it a bug in libvirt ??
RegardsAbhishek
From: 王李明 <wanglm(a)certusnet.com.cn>
To: 'abhishek jain' <abhish_jain(a)yahoo.com>; libvirt-users(a)redhat.com
Sent: Tuesday, 21 February 2017 11:54 AM
Subject: 答复: [libvirt-users] Virsh command hanging
#yiv0252501574 #yiv0252501574 -- _filtered #yiv0252501574
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv0252501574
{font-family:宋体;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv0252501574 {panose-1:2 4 5 3
5 4 6 3 2 4;} _filtered #yiv0252501574 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2
4;} _filtered #yiv0252501574 {panose-1:2 1 6 0 3 1 1 1 1 1;}#yiv0252501574 #yiv0252501574
p.yiv0252501574MsoNormal, #yiv0252501574 li.yiv0252501574MsoNormal, #yiv0252501574
div.yiv0252501574MsoNormal
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:宋体;}#yiv0252501574 a:link,
#yiv0252501574 span.yiv0252501574MsoHyperlink
{color:blue;text-decoration:underline;}#yiv0252501574 a:visited, #yiv0252501574
span.yiv0252501574MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}#yiv0252501574 span.yiv0252501574EmailStyle17
{color:black;}#yiv0252501574 .yiv0252501574MsoChpDefault {font-size:10.0pt;} _filtered
#yiv0252501574 {margin:72.0pt 90.0pt 72.0pt 90.0pt;}#yiv0252501574
div.yiv0252501574Section1 {}#yiv0252501574 I have this problem in centos6.5 when I upgrade
to centos 7.1 this problem is soluted maybe you can upgrade your os version 发件人:
libvirt-users-bounces@redhat.com[mailto:libvirt-users-bounces@redhat.com] 代表 abhishek
jain
发送时间: 2017年2月21日 13:51
收件人:libvirt-users@redhat.com
主题: [libvirt-users]Virsh command hanging Hi, I started the VMs withlibvirt 3 days
ago (17th Feb). Now when I am trying to shutdown thedomain, all my virsh command is
hanging even virt-manager remains in"connecting.." mode and is not showing
active domains. When I set the libvirt debug env and call "virsh list" it
hangs inpoll. Here is the log setenv LIBVIRT_DEBUG 1virsh list
2017-02-2105:31:09.241+0000: 125812: debug : virEventPollCalculateTimeout:320 :
Calculateexpiry of 0 timers 2017-02-2105:31:09.241+0000: 125811: debug :
virEventPollUpdateHandle:146 :EVENT_POLL_UPDATE_HANDLE: watch=2 events=0
2017-02-2105:31:09.241+0000: 125812: debug : virEventPollCalculateTimeout:346 : Timeoutat
0 due in -1 ms 2017-02-2105:31:09.241+0000: 125812: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN:nhandles=2 timeout=-1 2017-02-2105:31:09.241+0000: 125811: debug :
virEventPollInterruptLocked:701 :Interrupting 2017-02-21 05:31:09.241+0000:125812: debug :
virEventPollRunOnce:625 : Poll got 1 event(s) 2017-02-2105:31:09.242+0000: 125812: debug :
virEventPollDispatchTimeouts:410 : Dispatch 0 2017-02-2105:31:09.242+0000: 125812: debug :
virEventPollDispatchHandles:455 : Dispatch 2 2017-02-2105:31:09.242+0000: 125812: debug :
virEventPollDispatchHandles:469 : i=0 w=1 2017-02-2105:31:09.242+0000: 125812: debug :
virEventPollDispatchHandles:483 :EVENT_POLL_DISPATCH_HANDLE: watch=1 events=1
2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:501 : Cleanup 0
2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:537 : Found 0out
of 0 timeout slots used, releasing 0 2017-02-2105:31:09.242+0000: 125812: debug :
virEventPollCleanupHandles:549 : Cleanup 2 2017-02-2105:31:09.242+0000: 125812: debug :
virEventRunDefaultImpl:244 : running defaultevent implementation
2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:501 : Cleanup 0
2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:537 : Found 0out
of 0 timeout slots used, releasing 0 2017-02-2105:31:09.242+0000: 125812: debug :
virEventPollCleanupHandles:549 : Cleanup 2 2017-02-2105:31:09.242+0000: 125812: debug :
virEventPollMakePollFDs:378 : Prepare n=0w=1, f=4 e=1 d=0 2017-02-2105:31:09.242+0000:
125812: debug : virEventPollMakePollFDs:378 : Prepare n=1w=2, f=6 e=0 d=0
2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCalculateTimeout:320 :
Calculateexpiry of 0 timers 2017-02-21 05:31:09.242+0000:125812: debug :
virEventPollCalculateTimeout:346 : Timeout at 0 due in -1 ms 2017-02-2105:31:09.242+0000:
125812: debug : virEventPollRunOnce:614 : EVENT_POLL_RUN:nhandles=1 timeout=-1
<<hang>> hereis the log snippet of /var/log/libvirt/libvirtd.log
2017-02-1706:18:26.198+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat
client request 2017-02-1706:18:41.022+0000: 5052: error : daemonStreamHandleAbort:609 :
stream abortedat client request 2017-02-1706:18:56.017+0000: 5052: error :
daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:19:11.019+0000:
5052: error : daemonStreamHandleAbort:609 : stream abortedat client request
2017-02-1706:19:26.016+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat
client request 2017-02-1706:19:41.021+0000: 5052: error : daemonStreamHandleAbort:609 :
stream abortedat client request 2017-02-1706:19:56.014+0000: 5052: error :
daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:20:11.021+0000:
5052: error : daemonStreamHandleAbort:609 : stream abortedat client request
2017-02-1706:20:26.014+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat
client request 2017-02-17 06:20:41.014+0000:5052: error : daemonStreamHandleAbort:609 :
stream aborted at client request 2017-02-1706:20:56.016+0000: 5052: error :
daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:21:11.019+0000:
5052: error : daemonStreamHandleAbort:609 : stream abortedat client request
2017-02-1706:21:26.018+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat
client request 2017-02-1706:21:41.022+0000: 5052: error : daemonStreamHandleAbort:609 :
stream abortedat client request 2017-02-1706:21:56.019+0000: 5052: error :
daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:22:11.020+0000:
5052: error : daemonStreamHandleAbort:609 : stream abortedat client request
2017-02-1706:22:26.012+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat
client request 2017-02-1801:53:36.308+0000: 5052: warning : virKeepAliveTimerInternal:156
: No responsefrom client 0xe14160 after 5 keepalive messages in 30 seconds
2017-02-1801:53:47.346+0000: 5052: warning : virKeepAliveTimerInternal:156 : No
responsefrom client 0xe14c70 after 5 keepalive messages in 30
seconds/var/log/libvirt/libvirtd.log What could be theproblem. I am running virsh
(0.10.2) on RHEL6 Thanks for your help inadvance. Regards Abhishek
I don't know whether this is a bug
because I have tried a lot of method to soluted this problem
but I alway failed
at last I have to upgrade our os version
发件人: abhishek jain [mailto:abhish_jain@yahoo.com]
发送时间: 2017年2月21日 21:33
收件人: 王李明; libvirt-users(a)redhat.com
主题: Re: 答复: [libvirt-users] Virsh command hanging
I can only use RHEL6.
Is it a bug in libvirt ??
Regards
Abhishek
_____
From: 王李明 <wanglm(a)certusnet.com.cn>
To: 'abhishek jain' <abhish_jain(a)yahoo.com>; libvirt-users(a)redhat.com
Sent: Tuesday, 21 February 2017 11:54 AM
Subject: 答复: [libvirt-users] Virsh command hanging
I have this problem in centos6.5
when I upgrade to centos 7.1 this problem is soluted
maybe you can upgrade your os version
发件人: libvirt-users-bounces(a)redhat.com [mailto:libvirt-users-bounces@redhat.com] 代表
abhishek jain
发送时间: 2017年2月21日 13:51
收件人: libvirt-users(a)redhat.com
主题: [libvirt-users] Virsh command hanging
Hi,
I started the VMs with libvirt 3 days ago (17th Feb). Now when I am trying to shutdown
the domain, all my virsh command is hanging even virt-manager remains in
"connecting.." mode and is not showing active domains.
When I set the libvirt debug env and call "virsh list" it hangs in poll.
Here is the log
setenv LIBVIRT_DEBUG 1 virsh list
2017-02-21 05:31:09.241+0000: 125812: debug : virEventPollCalculateTimeout:320 : Calculate
expiry of 0 timers
2017-02-21 05:31:09.241+0000: 125811: debug : virEventPollUpdateHandle:146 :
EVENT_POLL_UPDATE_HANDLE: watch=2 events=0
2017-02-21 05:31:09.241+0000: 125812: debug : virEventPollCalculateTimeout:346 : Timeout
at 0 due in -1 ms
2017-02-21 05:31:09.241+0000: 125812: debug : virEventPollRunOnce:614 : EVENT_POLL_RUN:
nhandles=2 timeout=-1
2017-02-21 05:31:09.241+0000: 125811: debug : virEventPollInterruptLocked:701 :
Interrupting
2017-02-21 05:31:09.241+0000: 125812: debug : virEventPollRunOnce:625 : Poll got 1
event(s)
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollDispatchTimeouts:410 : Dispatch
0
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollDispatchHandles:455 : Dispatch
2
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollDispatchHandles:469 : i=0 w=1
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollDispatchHandles:483 :
EVENT_POLL_DISPATCH_HANDLE: watch=1 events=1
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:501 : Cleanup 0
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:537 : Found 0
out of 0 timeout slots used, releasing 0
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCleanupHandles:549 : Cleanup 2
2017-02-21 05:31:09.242+0000: 125812: debug : virEventRunDefaultImpl:244 : running default
event implementation
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:501 : Cleanup 0
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCleanupTimeouts:537 : Found 0
out of 0 timeout slots used, releasing 0
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCleanupHandles:549 : Cleanup 2
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollMakePollFDs:378 : Prepare n=0
w=1, f=4 e=1 d=0
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollMakePollFDs:378 : Prepare n=1
w=2, f=6 e=0 d=0
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCalculateTimeout:320 : Calculate
expiry of 0 timers
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollCalculateTimeout:346 : Timeout
at 0 due in -1 ms
2017-02-21 05:31:09.242+0000: 125812: debug : virEventPollRunOnce:614 : EVENT_POLL_RUN:
nhandles=1 timeout=-1 <<hang>>
here is the log snippet of /var/log/libvirt/libvirtd.log
2017-02-17 06:18:26.198+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:18:41.022+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:18:56.017+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:19:11.019+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:19:26.016+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:19:41.021+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:19:56.014+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:20:11.021+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:20:26.014+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:20:41.014+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:20:56.016+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:21:11.019+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:21:26.018+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:21:41.022+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:21:56.019+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:22:11.020+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-17 06:22:26.012+0000: 5052: error : daemonStreamHandleAbort:609 : stream aborted
at client request
2017-02-18 01:53:36.308+0000: 5052: warning : virKeepAliveTimerInternal:156 : No response
from client 0xe14160 after 5 keepalive messages in 30 seconds
2017-02-18 01:53:47.346+0000: 5052: warning : virKeepAliveTimerInternal:156 : No response
from client 0xe14c70 after 5 keepalive messages in 30 seconds
/var/log/libvirt/libvirtd.log
What could be the problem. I am running virsh (0.10.2) on RHEL6
Thanks for your help in advance.
Regards
Abhishek
Thanks Wanglm for your responses.
Can anyone else has any info about how to resolve such problems. Is this an issue fixed in
higher version of libvirt ? Here all my virsh commands are hanging which I think due to
hang in libvirt-daemon.
Can restarting libvirt-domain is fine ? What all it impacts ?
RegardsAbhishek
From: 王李明 <wanglm(a)certusnet.com.cn>
To: 'abhishek jain' <abhish_jain(a)yahoo.com>; libvirt-users(a)redhat.com
Sent: Tuesday, 21 February 2017 7:06 PM
Subject: 答复: 答复: [libvirt-users] Virsh command hanging
#yiv4132621194 #yiv4132621194 -- _filtered #yiv4132621194
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv4132621194
{font-family:宋体;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv4132621194 {panose-1:2 4 5 3
5 4 6 3 2 4;} _filtered #yiv4132621194 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2
4;} _filtered #yiv4132621194 {panose-1:2 1 6 0 3 1 1 1 1 1;}#yiv4132621194 #yiv4132621194
p.yiv4132621194MsoNormal, #yiv4132621194 li.yiv4132621194MsoNormal, #yiv4132621194
div.yiv4132621194MsoNormal
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:宋体;}#yiv4132621194 a:link,
#yiv4132621194 span.yiv4132621194MsoHyperlink
{color:blue;text-decoration:underline;}#yiv4132621194 a:visited, #yiv4132621194
span.yiv4132621194MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}#yiv4132621194 p.yiv4132621194msonormal,
#yiv4132621194 li.yiv4132621194msonormal, #yiv4132621194 div.yiv4132621194msonormal
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:宋体;}#yiv4132621194
p.yiv4132621194msochpdefault, #yiv4132621194 li.yiv4132621194msochpdefault, #yiv4132621194
div.yiv4132621194msochpdefault
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:宋体;}#yiv4132621194
span.yiv4132621194msohyperlink {}#yiv4132621194 span.yiv4132621194msohyperlinkfollowed
{}#yiv4132621194 span.yiv4132621194emailstyle17 {}#yiv4132621194
p.yiv4132621194msonormal1, #yiv4132621194 li.yiv4132621194msonormal1, #yiv4132621194
div.yiv4132621194msonormal1
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:宋体;}#yiv4132621194
span.yiv4132621194msohyperlink1 {color:blue;text-decoration:underline;}#yiv4132621194
span.yiv4132621194msohyperlinkfollowed1
{color:purple;text-decoration:underline;}#yiv4132621194 span.yiv4132621194emailstyle171
{color:black;}#yiv4132621194 p.yiv4132621194msochpdefault1, #yiv4132621194
li.yiv4132621194msochpdefault1, #yiv4132621194 div.yiv4132621194msochpdefault1
{margin-right:0cm;margin-left:0cm;font-size:10.0pt;font-family:宋体;}#yiv4132621194
span.yiv4132621194EmailStyle27 {color:black;}#yiv4132621194 .yiv4132621194MsoChpDefault
{font-size:10.0pt;} _filtered #yiv4132621194 {margin:72.0pt 90.0pt 72.0pt
90.0pt;}#yiv4132621194 div.yiv4132621194Section1 {}#yiv4132621194 I don't know whether
this is a bug because I have tried a lot of method to soluted this problem but I alway
failed at last I have to upgrade our os version 发件人: abhishek
jain[mailto:abhish_jain@yahoo.com]
发送时间: 2017年2月21日 21:33
收件人: 王李明; libvirt-users(a)redhat.com
主题: Re: 答复: [libvirt-users] Virsh command hanging I can only use RHEL6. Is it a bug
in libvirt?? Regards Abhishek From:王李明<wanglm@certusnet.com.cn>
To: 'abhishek jain' <abhish_jain@yahoo.com>;libvirt-users(a)redhat.com
Sent: Tuesday, 21 February 2017 11:54 AM
Subject: 答复:[libvirt-users] Virsh command hanging I have this problem in centos6.5 when
I upgrade to centos 7.1 this problemis soluted maybe you can upgrade your os version
发件人:libvirt-users-bounces@redhat.com [mailto:libvirt-users-bounces@redhat.com] 代表 abhishek
jain
发送时间: 2017年2月21日 13:51
收件人: libvirt-users(a)redhat.com
主题: [libvirt-users] Virsh command hanging Hi, I started the VMs withlibvirt 3 days ago
(17th Feb). Now when I am trying to shutdown thedomain, all my virsh command is hanging
even virt-manager remains in"connecting.." mode and is not showing active
domains. When I set the libvirt debug env and call "virsh list" it hangs
inpoll. Here is the log setenv LIBVIRT_DEBUG 1virsh list 2017-02-21
05:31:09.241+0000:125812: debug : virEventPollCalculateTimeout:320 : Calculate expiry of 0
timers 2017-02-2105:31:09.241+0000: 125811: debug : virEventPollUpdateHandle:146
:EVENT_POLL_UPDATE_HANDLE: watch=2 events=0 2017-02-2105:31:09.241+0000: 125812: debug :
virEventPollCalculateTimeout:346 : Timeoutat 0 due in -1 ms 2017-02-2105:31:09.241+0000:
125812: debug : virEventPollRunOnce:614 : EVENT_POLL_RUN:nhandles=2 timeout=-1
2017-02-2105:31:09.241+0000: 125811: debug : virEventPollInterruptLocked:701 :Interrupting
2017-02-2105:31:09.241+0000: 125812: debug : virEventPollRunOnce:625 : Poll got 1event(s)
2017-02-2105:31:09.242+0000: 125812: debug : virEventPollDispatchTimeouts:410 : Dispatch0
2017-02-2105:31:09.242+0000: 125812: debug : virEventPollDispatchHandles:455 : Dispatch 2
2017-02-2105:31:09.242+0000: 125812: debug : virEventPollDispatchHandles:469 : i=0 w=1
2017-02-2105:31:09.242+0000: 125812: debug : virEventPollDispatchHandles:483
:EVENT_POLL_DISPATCH_HANDLE: watch=1 events=1 2017-02-2105:31:09.242+0000: 125812: debug :
virEventPollCleanupTimeouts:501 : Cleanup 0 2017-02-2105:31:09.242+0000: 125812: debug :
virEventPollCleanupTimeouts:537 : Found 0out of 0 timeout slots used, releasing 0
2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCleanupHandles:549 : Cleanup 2
2017-02-2105:31:09.242+0000: 125812: debug : virEventRunDefaultImpl:244 : running
defaultevent implementation 2017-02-2105:31:09.242+0000: 125812: debug :
virEventPollCleanupTimeouts:501 : Cleanup 0 2017-02-2105:31:09.242+0000: 125812: debug :
virEventPollCleanupTimeouts:537 : Found 0out of 0 timeout slots used, releasing 0
2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCleanupHandles:549 : Cleanup 2
2017-02-2105:31:09.242+0000: 125812: debug : virEventPollMakePollFDs:378 : Prepare n=0w=1,
f=4 e=1 d=0 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollMakePollFDs:378 :
Prepare n=1w=2, f=6 e=0 d=0 2017-02-2105:31:09.242+0000: 125812: debug :
virEventPollCalculateTimeout:320 : Calculateexpiry of 0 timers
2017-02-2105:31:09.242+0000: 125812: debug : virEventPollCalculateTimeout:346 : Timeoutat
0 due in -1 ms 2017-02-2105:31:09.242+0000: 125812: debug : virEventPollRunOnce:614 :
EVENT_POLL_RUN:nhandles=1 timeout=-1 <<hang>> hereis the log snippet of
/var/log/libvirt/libvirtd.log 2017-02-1706:18:26.198+0000: 5052: error :
daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:18:41.022+0000:
5052: error : daemonStreamHandleAbort:609 : stream aborted atclient request
2017-02-1706:18:56.017+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat
client request 2017-02-1706:19:11.019+0000: 5052: error : daemonStreamHandleAbort:609 :
stream abortedat client request 2017-02-1706:19:26.016+0000: 5052: error :
daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:19:41.021+0000:
5052: error : daemonStreamHandleAbort:609 : stream abortedat client request
2017-02-1706:19:56.014+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat
client request 2017-02-1706:20:11.021+0000: 5052: error : daemonStreamHandleAbort:609 :
stream abortedat client request 2017-02-1706:20:26.014+0000: 5052: error :
daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:20:41.014+0000:
5052: error : daemonStreamHandleAbort:609 : stream abortedat client request
2017-02-1706:20:56.016+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat
client request 2017-02-1706:21:11.019+0000: 5052: error : daemonStreamHandleAbort:609 :
stream abortedat client request 2017-02-1706:21:26.018+0000: 5052: error :
daemonStreamHandleAbort:609 : stream abortedat client request 2017-02-1706:21:41.022+0000:
5052: error : daemonStreamHandleAbort:609 : stream abortedat client request
2017-02-1706:21:56.019+0000: 5052: error : daemonStreamHandleAbort:609 : stream abortedat
client request 2017-02-1706:22:11.020+0000: 5052: error : daemonStreamHandleAbort:609 :
stream abortedat client request 2017-02-17 06:22:26.012+0000:5052: error :
daemonStreamHandleAbort:609 : stream aborted at client request
2017-02-1801:53:36.308+0000: 5052: warning : virKeepAliveTimerInternal:156 : No
responsefrom client 0xe14160 after 5 keepalive messages in 30 seconds
2017-02-1801:53:47.346+0000: 5052: warning : virKeepAliveTimerInternal:156 : No
responsefrom client 0xe14c70 after 5 keepalive messages in 30
seconds/var/log/libvirt/libvirtd.log What could be theproblem. I am running virsh
(0.10.2) on RHEL6 Thanks for your help inadvance. Regards Abhishek