[libvirt-users] 答复: Virsh command hanging

abhishek jain abhish_jain at yahoo.com
Tue Feb 21 13:32:56 UTC 2017


I can only use RHEL6.
Is it a bug in libvirt ??
RegardsAbhishek

      From: 王李明 <wanglm at certusnet.com.cn>
 To: 'abhishek jain' <abhish_jain at yahoo.com>; libvirt-users at 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 at redhat.com[mailto:libvirt-users-bounces at redhat.com] 代表 abhishek jain
发送时间: 2017年2月21日 13:51
收件人:libvirt-users at 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 

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170221/37042c6b/attachment.htm>


More information about the libvirt-users mailing list