Date: Thu, 18 Mar 2021 16:34:18 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 254384] net/vnstat: occasionally does not log traffic & regularly gets the MaxBandwidth wrong Message-ID: <bug-254384-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254384 Bug ID: 254384 Summary: net/vnstat: occasionally does not log traffic & regularly gets the MaxBandwidth wrong Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: walter.von.entferndt@posteo.net Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org For a long time, net/vnstat did work fine. But since some days (weeks?), it started to fail to log all traffic occasionally, and it gets the bandwidth = of my ppp(8)-tun(4) interface wrong everytime. When I notice that it fails to= log the traffic, I have to restart it manually, until it starts to log the traf= fic. I guess this behaviour started with the last update. I'm using packages o= n a stock FreeBSD 12.2-RELEASE-p4, amd64 laptop with internet from WWAN (mobile phone radio network) with a built-in Ericsson HSDPA+ modem. Please note the bandwidth applied to the tun0 interface (excerpt from /var/log/messages.log): Mar 18 16:25:06 t450s vnstatd[98496]: Monitoring (5): wlan0 (300 Mbit) ue0 (2500 Mbit) tun0 (115200 Mbit) ipfw0 (2500 Mbit) em0 (1000 Mbit) but in vnstat's config I set (/usr/local/etc/vnstat.conf): BandwidthDetection 1 MaxBandwidth 2500 MaxBWem0 1000 MaxBWwlan0 300 MaxBWtun0 50 Note that 115200 baud is the default speed of the virtual serial line to the modem; that has never hindered the modem to supply bandwidth of up to 18 Mb= it/s (usually ~1-12 Mbit/s, my ISP's max. is 20 Mbit/s). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254384-7788>