Skip to contentSkip to conversation

networking stops working

DISCUSSION folkert 1 participant 6 messages Jul 21, 2013 – Jul 23, 2013 KVM

lore
Share & tools
lore

folkert

author
#0 lore raw

Hi,

I have a guest system with 4 virtual networks, all virtio.
3 of them connected to bridges, 1 to a virtual network. Regularly (mostly once in a few days but last 2 days already 4 times) one specific interface stops working. The only thing then that helps is restarting the virtual machine. When this happens, every packet send out increases the "dropped packets" counter in the guest. All other guests using this bridge work fine, including the host itself.
I verified that it is not a firewall problem (disabled the iptables script).
I did some googling and found the suggestion of installing vhost_net on the host and the suggestion to use the e1000 emulation but both did not help. This happens with 3.2, 3.8, 3.9 and 3.10 kernels in the guest. Same thing for the host.

pxe-qemu 1.0.0+git-20120202.f6840ba-3
kvm 1:1.1.2+dfsg-6
qemu 1.1.2+dfsg-6a
qemu-keymaps 1.1.2+dfsg-6a
qemu-kvm 1.1.2+dfsg-6
qemu-system 1.1.2+dfsg-6a
qemu-user 1.1.2+dfsg-6a
qemu-utils 1.1.2+dfsg-6a

Any ideas?

Folkert van Heusden

Signature · 5 lines
MultiTail is een flexibele tool voor het volgen van logfiles en
uitvoer van commando's. Filteren, van kleur voorzien, mergen,
'diff-view', etc. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
author
#1 lore raw

More details: pinging from within the guest gives

ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available

I verified that there are no processes using huge amounts of sockets
(lsof -n | grep IPv | wc -l tells me there are 755 in use).

I also tried disabling STP on the bridge (did not help).

The mac address of the interface in the guest does not show up in the brctl showmacs br1 output.

Currently the problem starts after not more than 5 minutes of uptime so it seems to get worse. No changes done, only the 10th reboot or so in the last couple of hours. The host has been up for 16 days.

No messages in dmesg on the host and also not in the guest.

It does not look as a memory usage problem: the guest has 5GB of ram free (it just started up) and swap is completely empty. 0.6GB of buffers.

Quoted 25 lines · folkert

Hi,

I have a guest system with 4 virtual networks, all virtio.
3 of them connected to bridges, 1 to a virtual network. Regularly (mostly once in a few days but last 2 days already 4 times) one specific interface stops working. The only thing then that helps is restarting the virtual machine. When this happens, every packet send out increases the "dropped packets" counter in the guest. All other guests using this bridge work fine, including the host itself.
I verified that it is not a firewall problem (disabled the iptables script).
I did some googling and found the suggestion of installing vhost_net on the host and the suggestion to use the e1000 emulation but both did not help. This happens with 3.2, 3.8, 3.9 and 3.10 kernels in the guest. Same thing for the host.

pxe-qemu 1.0.0+git-20120202.f6840ba-3
kvm 1:1.1.2+dfsg-6
qemu 1.1.2+dfsg-6a
qemu-keymaps 1.1.2+dfsg-6a
qemu-kvm 1.1.2+dfsg-6
qemu-system 1.1.2+dfsg-6a
qemu-user 1.1.2+dfsg-6a
qemu-utils 1.1.2+dfsg-6a

Quoted 11 lines

Any ideas?

Folkert van Heusden

Signature · 5 lines
MultiTail is een flexibele tool voor het volgen van logfiles en
uitvoer van commando's. Filteren, van kleur voorzien, mergen,
'diff-view', etc. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

Folkert van Heusden

Signature · 6 lines
MultiTail na wan makriki wrokosani fu tan luku den logfile nanga san
den commando spiti puru. Piki puru spesrutu sani, wroko nanga difrenti
kroru, tya kon makandra, nanga wan lo moro.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
author
#2 lore raw

After the mail below I rebooted the whole system (e.g. the host). Since then the guest runs fine. But this problem happened before so I'm not confident all is fine now.

Quoted 63 lines · folkert

More details: pinging from within the guest gives

ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available

I verified that there are no processes using huge amounts of sockets
(lsof -n | grep IPv | wc -l tells me there are 755 in use).

I also tried disabling STP on the bridge (did not help).

The mac address of the interface in the guest does not show up in the brctl showmacs br1 output.

Currently the problem starts after not more than 5 minutes of uptime so it seems to get worse. No changes done, only the 10th reboot or so in the last couple of hours. The host has been up for 16 days.

No messages in dmesg on the host and also not in the guest.

It does not look as a memory usage problem: the guest has 5GB of ram free (it just started up) and swap is completely empty. 0.6GB of buffers.

Quoted 25 lines · folkert

Hi,

I have a guest system with 4 virtual networks, all virtio.
3 of them connected to bridges, 1 to a virtual network. Regularly (mostly once in a few days but last 2 days already 4 times) one specific interface stops working. The only thing then that helps is restarting the virtual machine. When this happens, every packet send out increases the "dropped packets" counter in the guest. All other guests using this bridge work fine, including the host itself.
I verified that it is not a firewall problem (disabled the iptables script).
I did some googling and found the suggestion of installing vhost_net on the host and the suggestion to use the e1000 emulation but both did not help. This happens with 3.2, 3.8, 3.9 and 3.10 kernels in the guest. Same thing for the host.

pxe-qemu 1.0.0+git-20120202.f6840ba-3
kvm 1:1.1.2+dfsg-6
qemu 1.1.2+dfsg-6a
qemu-keymaps 1.1.2+dfsg-6a
qemu-kvm 1.1.2+dfsg-6
qemu-system 1.1.2+dfsg-6a
qemu-user 1.1.2+dfsg-6a
qemu-utils 1.1.2+dfsg-6a

Quoted 11 lines

Any ideas?

Folkert van Heusden

Signature · 5 lines
MultiTail is een flexibele tool voor het volgen van logfiles en
uitvoer van commando's. Filteren, van kleur voorzien, mergen,
'diff-view', etc. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
Quoted 13 lines

Folkert van Heusden

Signature · 10 lines
MultiTail na wan makriki wrokosani fu tan luku den logfile nanga san
den commando spiti puru. Piki puru spesrutu sani, wroko nanga difrenti
kroru, tya kon makandra, nanga wan lo moro.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Folkert van Heusden

Signature · 6 lines
Multitail est un outil permettant la visualisation de fichiers de
journalisation et/ou le suivi de l'exécution de commandes. Filtrage,
mise en couleur de mot-clé, fusions, visualisation de différences
(diff-view), etc.  http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
author
#3 lore raw

Nope: it failed again.

Quoted 83 lines · folkert

After the mail below I rebooted the whole system (e.g. the host). Since then the guest runs fine. But this problem happened before so I'm not confident all is fine now.

Quoted 63 lines · folkert

More details: pinging from within the guest gives

ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available

I verified that there are no processes using huge amounts of sockets
(lsof -n | grep IPv | wc -l tells me there are 755 in use).

I also tried disabling STP on the bridge (did not help).

The mac address of the interface in the guest does not show up in the brctl showmacs br1 output.

Currently the problem starts after not more than 5 minutes of uptime so it seems to get worse. No changes done, only the 10th reboot or so in the last couple of hours. The host has been up for 16 days.

No messages in dmesg on the host and also not in the guest.

It does not look as a memory usage problem: the guest has 5GB of ram free (it just started up) and swap is completely empty. 0.6GB of buffers.

Quoted 25 lines · folkert

Hi,

I have a guest system with 4 virtual networks, all virtio.
3 of them connected to bridges, 1 to a virtual network. Regularly (mostly once in a few days but last 2 days already 4 times) one specific interface stops working. The only thing then that helps is restarting the virtual machine. When this happens, every packet send out increases the "dropped packets" counter in the guest. All other guests using this bridge work fine, including the host itself.
I verified that it is not a firewall problem (disabled the iptables script).
I did some googling and found the suggestion of installing vhost_net on the host and the suggestion to use the e1000 emulation but both did not help. This happens with 3.2, 3.8, 3.9 and 3.10 kernels in the guest. Same thing for the host.

pxe-qemu 1.0.0+git-20120202.f6840ba-3
kvm 1:1.1.2+dfsg-6
qemu 1.1.2+dfsg-6a
qemu-keymaps 1.1.2+dfsg-6a
qemu-kvm 1.1.2+dfsg-6
qemu-system 1.1.2+dfsg-6a
qemu-user 1.1.2+dfsg-6a
qemu-utils 1.1.2+dfsg-6a

Quoted 11 lines

Any ideas?

Folkert van Heusden

Signature · 5 lines
MultiTail is een flexibele tool voor het volgen van logfiles en
uitvoer van commando's. Filteren, van kleur voorzien, mergen,
'diff-view', etc. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
Quoted 13 lines

Folkert van Heusden

Signature · 10 lines
MultiTail na wan makriki wrokosani fu tan luku den logfile nanga san
den commando spiti puru. Piki puru spesrutu sani, wroko nanga difrenti
kroru, tya kon makandra, nanga wan lo moro.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Quoted 13 lines

Folkert van Heusden

Signature · 10 lines
Multitail est un outil permettant la visualisation de fichiers de
journalisation et/ou le suivi de l'exécution de commandes. Filtrage,
mise en couleur de mot-clé, fusions, visualisation de différences
(diff-view), etc.  http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Folkert van Heusden

Signature · 5 lines
Curious about the inner workings of your car? Then check O2OO: it'll
tell you all that there is to know about your car's engine!
http://www.vanheusden.com/O2OO/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
author
#4 lore raw

I tried this evening to connect the vm directly to the ethernet adapter, not a bridge in between (the bridge was completely removed). This worked for a couple of hours then it was gone again.
The 3 other network adapters of that vm/guest were fine!

Quoted 101 lines · folkert

Nope: it failed again.

Quoted 83 lines · folkert

After the mail below I rebooted the whole system (e.g. the host). Since then the guest runs fine. But this problem happened before so I'm not confident all is fine now.

Quoted 63 lines · folkert

More details: pinging from within the guest gives

ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available

I verified that there are no processes using huge amounts of sockets
(lsof -n | grep IPv | wc -l tells me there are 755 in use).

I also tried disabling STP on the bridge (did not help).

The mac address of the interface in the guest does not show up in the brctl showmacs br1 output.

Currently the problem starts after not more than 5 minutes of uptime so it seems to get worse. No changes done, only the 10th reboot or so in the last couple of hours. The host has been up for 16 days.

No messages in dmesg on the host and also not in the guest.

It does not look as a memory usage problem: the guest has 5GB of ram free (it just started up) and swap is completely empty. 0.6GB of buffers.

Quoted 25 lines · folkert

Hi,

I have a guest system with 4 virtual networks, all virtio.
3 of them connected to bridges, 1 to a virtual network. Regularly (mostly once in a few days but last 2 days already 4 times) one specific interface stops working. The only thing then that helps is restarting the virtual machine. When this happens, every packet send out increases the "dropped packets" counter in the guest. All other guests using this bridge work fine, including the host itself.
I verified that it is not a firewall problem (disabled the iptables script).
I did some googling and found the suggestion of installing vhost_net on the host and the suggestion to use the e1000 emulation but both did not help. This happens with 3.2, 3.8, 3.9 and 3.10 kernels in the guest. Same thing for the host.

pxe-qemu 1.0.0+git-20120202.f6840ba-3
kvm 1:1.1.2+dfsg-6
qemu 1.1.2+dfsg-6a
qemu-keymaps 1.1.2+dfsg-6a
qemu-kvm 1.1.2+dfsg-6
qemu-system 1.1.2+dfsg-6a
qemu-user 1.1.2+dfsg-6a
qemu-utils 1.1.2+dfsg-6a

Quoted 11 lines

Any ideas?

Folkert van Heusden

Signature · 5 lines
MultiTail is een flexibele tool voor het volgen van logfiles en
uitvoer van commando's. Filteren, van kleur voorzien, mergen,
'diff-view', etc. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
Quoted 13 lines

Folkert van Heusden

Signature · 10 lines
MultiTail na wan makriki wrokosani fu tan luku den logfile nanga san
den commando spiti puru. Piki puru spesrutu sani, wroko nanga difrenti
kroru, tya kon makandra, nanga wan lo moro.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Quoted 13 lines

Folkert van Heusden

Signature · 10 lines
Multitail est un outil permettant la visualisation de fichiers de
journalisation et/ou le suivi de l'exécution de commandes. Filtrage,
mise en couleur de mot-clé, fusions, visualisation de différences
(diff-view), etc.  http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Quoted 12 lines

Folkert van Heusden

Signature · 9 lines
Curious about the inner workings of your car? Then check O2OO: it'll
tell you all that there is to know about your car's engine!
http://www.vanheusden.com/O2OO/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Folkert van Heusden

Signature · 5 lines
To MultiTail einai ena polymorfiko ergaleio gia ta logfiles kai tin
eksodo twn entolwn. Prosferei: filtrarisma, xrwmatismo, sygxwneysi,
diaforetikes provoles. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
author
#5 lore raw

One strange thing though:

20:19:03.910892 ARP, Request who-has 192.168.178.2 tell 192.168.178.1, length 46 20:19:04.906854 ARP, Request who-has 192.168.178.2 tell 192.168.178.1, length 46 20:19:05.493445 ARP, Request who-has 192.168.178.2 tell 192.168.178.83, length 46 20:19:05.903027 ARP, Request who-has 192.168.178.2 tell 192.168.178.1, length 46 20:19:06.490750 ARP, Request who-has 192.168.178.2 tell 192.168.178.83, length 46
...

83 and 1 are indeed other devices in that network!
Also: now the "dropped" counter does not increase. There are entries in the arp table.

Quoted 121 lines · folkert

I tried this evening to connect the vm directly to the ethernet adapter, not a bridge in between (the bridge was completely removed). This worked for a couple of hours then it was gone again.
The 3 other network adapters of that vm/guest were fine!

Quoted 101 lines · folkert

Nope: it failed again.

Quoted 83 lines · folkert

After the mail below I rebooted the whole system (e.g. the host). Since then the guest runs fine. But this problem happened before so I'm not confident all is fine now.

Quoted 63 lines · folkert

More details: pinging from within the guest gives

ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available

I verified that there are no processes using huge amounts of sockets
(lsof -n | grep IPv | wc -l tells me there are 755 in use).

I also tried disabling STP on the bridge (did not help).

The mac address of the interface in the guest does not show up in the brctl showmacs br1 output.

Currently the problem starts after not more than 5 minutes of uptime so it seems to get worse. No changes done, only the 10th reboot or so in the last couple of hours. The host has been up for 16 days.

No messages in dmesg on the host and also not in the guest.

It does not look as a memory usage problem: the guest has 5GB of ram free (it just started up) and swap is completely empty. 0.6GB of buffers.

Quoted 25 lines · folkert

Hi,

I have a guest system with 4 virtual networks, all virtio.
3 of them connected to bridges, 1 to a virtual network. Regularly (mostly once in a few days but last 2 days already 4 times) one specific interface stops working. The only thing then that helps is restarting the virtual machine. When this happens, every packet send out increases the "dropped packets" counter in the guest. All other guests using this bridge work fine, including the host itself.
I verified that it is not a firewall problem (disabled the iptables script).
I did some googling and found the suggestion of installing vhost_net on the host and the suggestion to use the e1000 emulation but both did not help. This happens with 3.2, 3.8, 3.9 and 3.10 kernels in the guest. Same thing for the host.

pxe-qemu 1.0.0+git-20120202.f6840ba-3
kvm 1:1.1.2+dfsg-6
qemu 1.1.2+dfsg-6a
qemu-keymaps 1.1.2+dfsg-6a
qemu-kvm 1.1.2+dfsg-6
qemu-system 1.1.2+dfsg-6a
qemu-user 1.1.2+dfsg-6a
qemu-utils 1.1.2+dfsg-6a

Quoted 11 lines

Any ideas?

Folkert van Heusden

Signature · 5 lines
MultiTail is een flexibele tool voor het volgen van logfiles en
uitvoer van commando's. Filteren, van kleur voorzien, mergen,
'diff-view', etc. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
Quoted 13 lines

Folkert van Heusden

Signature · 10 lines
MultiTail na wan makriki wrokosani fu tan luku den logfile nanga san
den commando spiti puru. Piki puru spesrutu sani, wroko nanga difrenti
kroru, tya kon makandra, nanga wan lo moro.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Quoted 13 lines

Folkert van Heusden

Signature · 10 lines
Multitail est un outil permettant la visualisation de fichiers de
journalisation et/ou le suivi de l'exécution de commandes. Filtrage,
mise en couleur de mot-clé, fusions, visualisation de différences
(diff-view), etc.  http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Quoted 12 lines

Folkert van Heusden

Signature · 9 lines
Curious about the inner workings of your car? Then check O2OO: it'll
tell you all that there is to know about your car's engine!
http://www.vanheusden.com/O2OO/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Quoted 8 lines

Folkert van Heusden

Signature · 5 lines
To MultiTail einai ena polymorfiko ergaleio gia ta logfiles kai tin
eksodo twn entolwn. Prosferei: filtrarisma, xrwmatismo, sygxwneysi,
diaforetikes provoles. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

Folkert van Heusden

Signature · 4 lines
Ever wonder what is out there? Any alien races? Then please support
the seti@home project: setiathome.ssl.berkeley.edu
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com