qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: "Gediminas Jančys" <g.jancys@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Windows Server 2008 R2 network freezes after some time
Date: Mon, 16 Oct 2017 19:05:56 +0100	[thread overview]
Message-ID: <20171016180555.GE2876@work-vm> (raw)
In-Reply-To: <002d01d34667$f8c9b1e0$ea5d15a0$@gmail.com>

* Gediminas Jančys (g.jancys@gmail.com) wrote:
> Hello guys, 
> 
> I have a problem and desperate with it, can't find a solution for it. I got
> Windows Server 2008 R2 guest OS on CentOS Linux release 7.3.1611 (Core) with
> libvirt and CloudStack. Problem is that after some time, about 2- 3 days
> (should be based on amount of traffic) VM's network got stuck. No traffic in
> or out. After restart network works fine until gets stuck again.  I'm
> current using VirtIO drivers on guest version 61.74.104.14100. Also I have
> tried to use older drivers but same situation. From host and guest logs I
> can't see any entries about drivers or something related to this problem,
> only casual stuff. Can you help me or guide to find the problems source?
> After my investigation I would say that drivers are failing at some point.

If you switch the NIC from virtio to another type (e1000 for example)
does the problem go away?

Dave
>  
> 
> Libvirts info:
> 
> Using library: libvirt 2.0.0
> 
> Using API: QEMU 2.0.0
> 
> Running hypervisor: QEMU 2.6.0
> 
>  
> 
> KVM XML:
> 
> <domain type='kvm' id='206'>
> 
>   <name>i-25-85-VM</name>
> 
>   <uuid>2758a8ec-3e86-4132-9110-1051f0708367</uuid>
> 
>   <description>Windows PV</description>
> 
>   <maxMemory slots='32' unit='KiB'>197191680</maxMemory>
> 
>   <memory unit='KiB'>16777216</memory>
> 
>   <currentMemory unit='KiB'>16777216</currentMemory>
> 
>   <vcpu placement='auto' current='2'>40</vcpu>
> 
>   <cputune>
> 
>     <shares>146</shares>
> 
>   </cputune>
> 
>   <numatune>
> 
>     <memory mode='strict' placement='auto'/>
> 
>   </numatune>
> 
>   <resource>
> 
>     <partition>/machine</partition>
> 
>   </resource>
> 
>   <sysinfo type='smbios'>
> 
>     <system>
> 
>       <entry name='manufacturer'>Apache Software Foundation</entry>
> 
>       <entry name='product'>CloudStack KVM Hypervisor</entry>
> 
>       <entry name='uuid'>2758a8ec-3e86-4132-9110-1051f0708367</entry>
> 
>     </system>
> 
>   </sysinfo>
> 
>   <os>
> 
>     <type arch='x86_64' machine='pc-i440fx-rhel7.3.0'>hvm</type>
> 
>     <boot dev='cdrom'/>
> 
>     <boot dev='hd'/>
> 
>     <smbios mode='sysinfo'/>
> 
>   </os>
> 
>   <features>
> 
>     <acpi/>
> 
>     <apic/>
> 
>     <pae/>
> 
>   </features>
> 
>   <cpu mode='host-passthrough'>
> 
>     <numa>
> 
>       <cell id='0' cpus='0-39' memory='16777216' unit='KiB'/>
> 
>     </numa>
> 
>   </cpu>
> 
>   <clock offset='localtime'>
> 
>     <timer name='rtc' tickpolicy='catchup'/>
> 
>   </clock>
> 
>   <on_poweroff>destroy</on_poweroff>
> 
>   <on_reboot>restart</on_reboot>
> 
>   <on_crash>destroy</on_crash>
> 
>   <devices>
> 
>     <emulator>/usr/libexec/qemu-kvm</emulator>
> 
>     <disk type='network' device='disk'>
> 
>       <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>
> 
>       <auth username='kvm'>
> 
>         <secret type='ceph' uuid='8321dbbc-8bab-301b-a89f-d558256ddd8b'/>
> 
>       </auth>
> 
>       <source protocol='rbd'
> name='kvm-pool/ec8e6467-7370-4cdc-bbda-01844e5f9c2c'>
> 
>         <host name=xxxxxx.xxxx.xx port='6789'/>
> 
>       </source>
> 
>       <backingStore/>
> 
>       <target dev='sda' bus='scsi'/>
> 
>       <serial>ec8e646773704cdcbbda</serial>
> 
>       <alias name='scsi0-0-0-0'/>
> 
>       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
> 
>     </disk>
> 
>     <disk type='file' device='cdrom'>
> 
>       <driver name='qemu' type='raw' cache='none'/>
> 
>       <backingStore/>
> 
>       <target dev='hdc' bus='ide'/>
> 
>       <readonly/>
> 
>       <alias name='ide0-1-0'/>
> 
>       <address type='drive' controller='0' bus='1' target='0' unit='0'/>
> 
>     </disk>
> 
>     <controller type='scsi' index='0' model='virtio-scsi'>
> 
>       <driver queues='2'/>
> 
>       <alias name='scsi0'/>
> 
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
> function='0x0'/>
> 
>     </controller>
> 
>     <controller type='usb' index='0'>
> 
>       <alias name='usb'/>
> 
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
> function='0x2'/>
> 
>     </controller>
> 
>     <controller type='pci' index='0' model='pci-root'>
> 
>       <alias name='pci.0'/>
> 
>     </controller>
> 
>     <controller type='ide' index='0'>
> 
>       <alias name='ide'/>
> 
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
> function='0x1'/>
> 
>     </controller>
> 
>     <interface type='bridge'>
> 
>       <mac address='06:b2:ec:00:01:97'/>
> 
>       <source bridge='brbond0-500'/>
> 
>       <target dev='vnet14'/>
> 
>       <model type='virtio'/>
> 
>       <alias name='net0'/>
> 
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> function='0x0'/>
> 
>     </interface>
> 
>     <serial type='pty'>
> 
>       <source path='/dev/pts/13'/>
> 
>       <target port='0'/>
> 
>       <alias name='serial0'/>
> 
>     </serial>
> 
>     <console type='pty' tty='/dev/pts/13'>
> 
>       <source path='/dev/pts/13'/>
> 
>       <target type='serial' port='0'/>
> 
>       <alias name='serial0'/>
> 
>     </console>
> 
>     <input type='tablet' bus='usb'>
> 
>       <alias name='input0'/>
> 
>       <address type='usb' bus='0' port='1'/>
> 
>     </input>
> 
>     <input type='mouse' bus='ps2'>
> 
>       <alias name='input1'/>
> 
>     </input>
> 
>     <input type='keyboard' bus='ps2'>
> 
>       <alias name='input2'/>
> 
>     </input>
> 
>     <graphics type='vnc' port='5914' autoport='yes' listen='10.24.99.29'>
> 
>       <listen type='address' address='10.24.99.29'/>
> 
>     </graphics>
> 
>     <video>
> 
>       <model type='cirrus' vram='16384' heads='1' primary='yes'/>
> 
>       <alias name='video0'/>
> 
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x02'
> function='0x0'/>
> 
>     </video>
> 
>     <memballoon model='none'/>
> 
>   </devices>
> 
>   <seclabel type='none' model='none'/>
> 
>   <seclabel type='dynamic' model='dac' relabel='yes'>
> 
>     <label>+0:+0</label>
> 
>     <imagelabel>+0:+0</imagelabel>
> 
>   </seclabel>
> 
> </domain>
> 
>  
> 
> King regards
> 
> Gediminas J.
> 
>  
> 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

  reply	other threads:[~2017-10-16 18:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-16 10:17 [Qemu-devel] Windows Server 2008 R2 network freezes after some time Gediminas Jančys
2017-10-16 18:05 ` Dr. David Alan Gilbert [this message]
2017-10-17 14:38   ` Gediminas Jančys

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171016180555.GE2876@work-vm \
    --to=dgilbert@redhat.com \
    --cc=g.jancys@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).