Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Vhost0 drop packets every second in bond0

Featured Replies

After macvlan issue fixed in latest version in Unraid, I goes back to Using bond0 with 2 ethernet devices, but some days ago  found a lot of dropped packets from vhost0 Every second. 

Using a lot of dockers, but packet drops only from vhost0 so they also shown as in bond0. 

Using active-backup(1) in bond0.

  • 5 months later...

Hello,

 

I am affected too:

 

vhost0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.10  netmask 255.255.255.0  broadcast 0.0.0.0
        ether 02:33:dc:xx:xx:xx  txqueuelen 500  (Ethernet)
        RX packets 235962  bytes 215191610 (205.2 MiB)
        RX errors 0  dropped 27168  overruns 0  frame 0
        TX packets 41404  bytes 21627297 (20.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

I had an alert in netdata inbound_packets_dropped_ratio on vhost0:

 

grafik.thumb.png.c8c0d698dd4b0d7d0ed5317c916cec81.png

  • Community Expert

macvtap is macvlan

 

vhost is vm
check your vm settings...

  • Author
9 hours ago, bmartino1 said:

macvtap is macvlan

 

vhost is vm
check your vm settings...

vhost0 is for docker without br, vm is virbr0 in my vm setting

  • Community Expert

what is the output of netstat -i

we need to know the flags.

image.png.e1234a827d1abd569ec4ca165dcfe734.png

 

Your correct when I doubled check my settings, vhost has been taped for dockers with bridging off. But i'm not seeing drops...

Vhost is supposed to be the tun/tap for virtio networking...

https://www.redhat.com/en/blog/deep-dive-virtio-networking-and-vhost-net#:~:text=The device is called a,special ioctl commands to it.

also what is the ouput of docker network ls

root@BMM-Unraid:~# docker network ls
NETWORK ID     NAME                           DRIVER    SCOPE
2f3b42c3e304   bond0                          macvlan   local
e392796db8d0   bridge                         bridge    local
7f05527ae402   host                           host      local
c7a0681e8f4a   netprobe_lite_custom_network   bridge    local
3189dbba008f   none                           null      local

Review your docker network inspect bond0
as well please post diagnostic...

also since you have 2 nics in the bond. what mode are you running?

image.thumb.png.94033964d1c471ca2c00db1ef65491f5.png

mode 1 - is the cable bad? you would see drops in it switches back and forth between the 2 nics.

Edited by bmartino1

  • Author
1 hour ago, bmartino1 said:

mode 1 - is the cable bad?

Yes I tryed back without bond0, still have issue also changed cable. 

As I posted befor is mode1, I will post all info later, also will try to check other cable again

Edited by Masterwishx

  • Author

image.thumb.png.b26cb7aa356906aa69beee8df0cf4c7f.png

image.thumb.png.0773ede1c35602c71b9865e6da4c0d23.png

  • Author

image.png.3e3413da4f76dbc5cb7a355908c150bd.png

  • Community Expert

I'm not seeing bad flags or other netowrk setting miss configuration/use yet...

in my experience, each veth is a separate docker..
so 63 dockers... What are you running?
Any vpn or other network docker?

Lets check your proxynet bridge is taped into what interface for a connection? This could be a bug with default custom bond0 vs proxynet bridge.
Docker network inspect proxynet

Still need your unraid diagnostic we need the syslog and other data in the diag as there should be a record of what's happening before the drop please post diagnostics.

  • Author

I'm running all kind containers proxynet for Nginx proxy Manager and containers for outside use. 

Also running wire guard and tailscale plugin. 

But the issue was befor tailscale, I think after updated to unraid (6.10.x) where macvlan issue was fixed

I will post diagnostic later

  • Author

Also from grafana by monitoring Prometheus Node Exporter we can see no drops on eth0,eth1 so its not physical cable problem :  

 

image.thumb.png.de83edac892619b7238801d3a6ea1957.png

  • Author

from network inspect

image.thumb.png.0bcf43a53d664d7902bccdd2b5071bb3.png

....

image.thumb.png.f816f0c1c64682a18e028793a3ac45dc.png

  • Community Expert
13 hours ago, Masterwishx said:

Also from grafana by monitoring Prometheus Node Exporter we can see no drops on eth0,eth1 so its not physical cable problem :  

 

image.thumb.png.de83edac892619b7238801d3a6ea1957.png


Bond0 appears to be working correctly, you wouldn't see that even if there was a drop...

Please go to tools> diagnostic and post that file ... Still need the system log...

  • Author
9 hours ago, bmartino1 said:

Still need the system log...

 

can i send you in pm ?

  • Author
10 hours ago, bmartino1 said:

Please go to tools> diagnostic and post that file ... Still need the system log...

Also tryed to stop docker by: 

Enable Docker = no , but still have drops ...

  • Community Expert
11 hours ago, Masterwishx said:

 

can i send you in pm ?

Thats fine.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.