Re: 答复: Virsh command hanging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can only use RHEL6.

Is it a bug in libvirt ??

Regards
Abhishek



From: 王李明 <wanglm@xxxxxxxxxxxxxxxx>
To: 'abhishek jain' <abhish_jain@xxxxxxxxx>; libvirt-users@xxxxxxxxxx
Sent: Tuesday, 21 February 2017 11:54 AM
Subject: 答复: 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@xxxxxxxxxx [mailto:libvirt-users-bounces@xxxxxxxxxx] 代表 abhishek jain
发送时间: 2017221 13:51
收件人: libvirt-users@xxxxxxxxxx
主题: 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


_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux