• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Changing VnStatd max bandwidth limits for specific interfaces in 2.4.5-RELEASE-p1

Scheduled Pinned Locked Moved pfSense Packages
3 Posts 3 Posters 956 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    tlex
    last edited by Jan 27, 2021, 3:40 PM

    Is there anyway to increase the max bandwidth for specific interfaces in vnstatd config ?

    I get a lot of :

    Traffic rate for "bxe0" higher than set maximum 1000 Mbit (20s->2673868800, r7997004 t18446744069875518448, 64bit:0), syncing
    

    this interface is running at 2.5gbps...

    I see that editing /usr/local/etc/vnstat.conf to add the following is useless since the files gets recreated when the process restart but how or where shoud I specify these options ?

    MaxBandwidth 0
    

    or

    MaxBWBxe0 0
    
    Q 1 Reply Last reply Jan 31, 2021, 7:00 AM Reply Quote 0
    • Q
      q54e3w @tlex
      last edited by q54e3w Jan 31, 2021, 7:01 AM Jan 31, 2021, 7:00 AM

      @tlex going to bump this for visibility, same thing here with Intel x710l running 2.5gbps to modem

      Traffic rate for "ixl1" higher than set maximum 1000 Mbit 
      
      Monitoring (32): pfsync0 (1000 Mbit) pflog0 (1000 Mbit) ovpns4 (1000 Mbit) ovpnc7 (1000 Mbit) ovpnc6 (1000 Mbit) ovpnc5 (1000 Mbit) ovpnc3 (1000 Mbit) ovpnc2 (1000 Mbit) ovpnc1 (1000 Mbit) ixl3 (1000 Mbit) ixl2 (1000 Mbit) ixl1 (1000 Mbit) ixl0.90 (1000 Mbit) ixl0.80 (1000 Mbit) ixl0.70 (1000 Mbit) ixl0.60 (1000 Mbit) ixl0.50 (1000 Mbit) ixl0.40 (1000 Mbit) ixl0.30 (1000 Mbit) ixl0.20 (1000 Mbit) ixl0.14 (1000 Mbit) ixl0.120 (1000 Mbit) ixl0.12 (1000 Mbit) ixl0.11 (1000 Mbit) ixl0.10 (1000 Mbit) ixl0 (1000 Mbit) igb3 (1000 Mbit) igb2.13 (1000 Mbit) igb2 (1000 Mbit) igb1 (1000 Mbit) igb0 (1000 Mbit) enc0 (1000 Mbit)
      
      1 Reply Last reply Reply Quote 1
      • P
        pfpv
        last edited by Jul 19, 2024, 6:05 PM

        While looking for something else I found that I also have similar messages in my syslog. Looking further I found this recommendation for the vnStat package:

        "Every NIC is added on install. So if a NIC is added (or removed) on the firewall, remove the package and install again. If the firewall has data for a NIC vnStat will report the data even if the NIC has been removed.
        A reinstall of the package will not change this as the firewall has data pertaining to the non existent data and thus other packages such as vnstat2 will report the data it has or has found."

        Link: https://docs.netgate.com/pfsense/en/latest/packages/traffic-totals.html

        Indeed I changed my hardware and restored the configuration from the old one. Some NICs changed from 1Gb to 10Gb.

        However, after removing and installing the package I see this in the log:

        Monitoring (10): tun_wg0 (1000 Mbit) pppoe1 (1000 Mbit) pfsync0 (1000 Mbit) pflog0 (1000 Mbit) ix1 (10000 Mbit) ix0 (10000 Mbit) igb1 (10 Mbit) igb0 (10 Mbit) enc0 (1000 Mbit) em0 (1000 Mbit)
        

        And it's incorrect. My pppoe1 sits on ix0 and my fiber speed is 3/3Gbps, so higher than 1000Mbit vnStat thinks. Also igb0 and igb1 are 1000Mbit, not 10Mbit (they are not assigned yet, though).

        I suppose the log messages we see are no more than a minor nuisance but is there a way to assign correct interface speeds for vnStat or disable these messages?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received