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

    Traffic graph reports double the real amount on some interfaces.

    Scheduled Pinned Locked Moved webGUI
    35 Posts 25 Posters 11.9k 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.
    • A
      ab0tj
      last edited by

      Hi,

      I have a pfSense box here with three physical interfaces, em0 em1 and bge0. em0 and em1 both have two VLANs each, into the same Cisco switch. The VLANs on em1 (WAN and WAN2) report the correct amount of traffic in the dashboard, but the VLANs on em0 (both local networks) show double the real bandwidth usage. Is this something anyone else has seen before?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • A
        ab0tj
        last edited by

        OK, an update on this one. All the VLAN interfaces show double the amount of "out" traffic and are accurate on the "in" traffic.

        1 Reply Last reply Reply Quote 0
        • jahonixJ
          jahonix
          last edited by

          And I thought it was my messed up config…

          I can confirm this on vge interfaces with VLANs on top.
          Using 2.1 on nanobsd (4g).

          1 Reply Last reply Reply Quote 0
          • D
            Disturbed1
            last edited by

            same double the bandwidth,
            this really sucks when i use that to monitor user traffic

            running installed iso on physical machine, used pfsense updater…

            1 Reply Last reply Reply Quote 0
            • A
              ab0tj
              last edited by

              Nice to hear I'm at least not alone on this one. I'll report back if I manage to find a fix. Thanks guys.

              1 Reply Last reply Reply Quote 0
              • jahonixJ
                jahonix
                last edited by

                Just as a follow up - I see the same behaviour on an ALIX board when using VLANs.
                It seems to be independent of the interface type (VR on ALIX) and occurs with virtual interfaces only.

                I'll try to point the developers to it.

                1 Reply Last reply Reply Quote 0
                • R
                  ruralrick
                  last edited by

                  I see the same issue here. I also noted that shaper queue status is wrong/too high, sometimes WAY off (i.e. a vlan with 3mbps MAX available from WAN showing 24mbps out to LAN).

                  I noted this RRD issue in the previous 2.x version as well, but it has gotten much worse and spread to queue status in 2.1

                  1 Reply Last reply Reply Quote 0
                  • bill_mcgonigleB
                    bill_mcgonigle
                    last edited by

                    I stumbled onto this while setting up a limiter.  Attaching a screenshot of the traffic graphs.  Notice that the Guest interface is showing double the Fairpoint interface; VLANs 6 and 4 respectively on em0.  I have the debug menu turned on on this Roku device and it also senses a 1.5MB network (the limiter value, accurate on the Fairpoint interface).

                    The directions would be reversed between the two, but I did a line-saturation upload on the Fairpoint interface and the 'Out' value is correct there.  That's the interface with the current gateway (top tier in the gateway group).

                    limiter-double-chart.png
                    limiter-double-chart.png_thumb

                    1 Reply Last reply Reply Quote 0
                    • Z
                      zohaib
                      last edited by

                      Same issue VLANs interfaces traffic is double, i was also thinking about configuration i might configure wrong. any one has nay idea why pfsense behave like that is its a bug.

                      1 Reply Last reply Reply Quote 0
                      • H
                        Heliborn
                        last edited by

                        I am having an identical issue. Has any one found any information regarding this?

                        Thanks,

                        1 Reply Last reply Reply Quote 0
                        • R
                          rlljorge
                          last edited by

                          Hi,

                          I have same problem … here

                          1 Reply Last reply Reply Quote 0
                          • R
                            Rezin
                            last edited by

                            Affected here too.

                            • v2.1-RELEASE (i386).

                            • Running in an ESXi 5.1 VM, using VMXNET 3 vNICs (vmx3f#).

                            • There are no VLANs configured in pfSense directly, but some vNICs use vSwitches that have a VLAN tag.

                            1 Reply Last reply Reply Quote 0
                            • R
                              Rezin
                              last edited by

                              @ab0tj:

                              OK, an update on this one. All the VLAN interfaces show double the amount of "out" traffic and are accurate on the "in" traffic.

                              Mine's the opposite - 'in' is being doubled, while 'out' is fine.

                              For now, I've changed the line in /usr/local/www/graph.php to:

                              var ifin = parseInt(t[1]/2, 10);    // number of bytes received by the interface
                              

                              … in the below code block:

                              var t = obj.content.split("|");
                              var ugmt = parseFloat(t[0]);  // ugmt is an unixtimestamp style
                              var ifin = parseInt(t[1], 10);    // number of bytes received by the interface
                              var ifout = parseInt(t[2], 10);   // number of bytes sent by the interface
                              var scale;
                              

                              There might be a better/correct bandaid, but that'll do for the minute.

                              1 Reply Last reply Reply Quote 0
                              • S
                                S_D
                                last edited by

                                Just to say I'm also seeing this.

                                2.1.2 amd64 on an Intel 2500CC platform with no Vlans.

                                If I look at my traffic graphs for WAN and LAN then the 'in' of both is correct, but the 'out' of both is exactly double what it should be.

                                1 Reply Last reply Reply Quote 0
                                • R
                                  Riroxi
                                  last edited by

                                  Same here. No vlans, 2.1.2 amd64 em0 card.

                                  WAN card is correct, LAN card is double on out values.

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    d3v0
                                    last edited by

                                    Hey

                                    Same here. Using BLKD2500CCE, no VLANs.

                                    Any other ideas instead of edit graph.php?

                                    Bandwidthd and Vnstat2 also shows double amount of traffic on lan interface.

                                    Hardware: Intel BLKD2500CCE (Intel Atom D2500)/4GB

                                    1 Reply Last reply Reply Quote 0
                                    • -flo- 0-
                                      -flo- 0
                                      last edited by

                                      I also have this issue. This has been discussed several times, see for example this https://forum.pfsense.org/index.php?topic=75343.0..

                                      Probably this is a known error (https://redmine.pfsense.org/issues/3314). It seems that the error lies in the OS and developers discuss that this might be fixed with the upcoming version 2.2.

                                      -flo-

                                      1 Reply Last reply Reply Quote 0
                                      • E
                                        eduardr
                                        last edited by

                                        Same issue here using the built-in ethernet ports on our super micro server - LAN shows twice out traffic as WAN in traffic. No VLANs.

                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          elel
                                          last edited by

                                          Also seeing this problem - testing upload bandwidth with iperf, the wan graph is showing double the outgoing traffic that the lan graph is showing coming in.

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            asayler
                                            last edited by

                                            I'm seeing this exact issue in the latest 2.2 snapshots (screenshot attached). It also seems to be directional: when I send traffic from a server in my DMZ to a machine on my LAN, the DMZ registers the correct level but the LAN doubles he traffic. When I send traffic in the reverse direction, the opposite occurs (again, see screenshot below).

                                            The server in my DMZ is running off a 2-port LACP connection, and both networks are using VLANs (which seems to be the factor that causes the issue).

                                            Looks like the redmine bug has already been updated to reflect the fact that this isn't fixed in 2.2, but FYI.

                                            https://redmine.pfsense.org/issues/3314

                                            BandwidthGraphDoubled.png
                                            BandwidthGraphDoubled.png_thumb

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.