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.
    • bill_mcgonigleB Offline
      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 Offline
        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 Offline
          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 Offline
            rlljorge
            last edited by

            Hi,

            I have same problem … here

            1 Reply Last reply Reply Quote 0
            • R Offline
              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 Offline
                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 Offline
                  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 Offline
                    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 Offline
                      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- Offline
                        -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 Offline
                          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 Offline
                            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 Offline
                              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
                              • S Offline
                                Supermule Banned
                                last edited by

                                Not having this issue in 2.1.4 just for info.

                                VLAN_test.PNG
                                VLAN_test.PNG_thumb
                                WAN_test.PNG
                                WAN_test.PNG_thumb

                                1 Reply Last reply Reply Quote 0
                                • ? This user is from outside of this forum
                                  Guest
                                  last edited by

                                  @asayler

                                  Didn't you uncheck the box "Get a free copy of your private data in the iCloud"  ;D :P

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    mtomczyk
                                    last edited by

                                    I am seeing the same thing on my system. I am not using VLAN's at all. I am on Version 2.1.5 and my hardware is NetGate. If I look at the RRD graphs everything is accurate. It is only on the Traffic Graphs.

                                    Thanks

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      mpi
                                      last edited by

                                      Also seeing this on 2.1.5 on an Atom D510 based system with onboard LAN (em1) and WAN (em0) ports for an traffic on the OUT of a port. Specifically, when running a speedtest via speedtest.net:

                                      On the download test, the IN on WAN shows a match to the speedtest while the OUT on LAN shows double.

                                      During the upload test, the IN on LAN shows matching speed while OUT on WAN shows double.

                                      Screen grabs of speediest and bandwidth graphs attached.

                                      pfsense_double.png
                                      pfsense_double.png_thumb

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        P3R
                                        last edited by

                                        @asayler:

                                        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).

                                        No it's not. At least not the only cause. There are several reports in this thread alone that state they are not using VLANs…

                                        Maybe we can find a pattern if we start to give more detailed info of the affected (and non-affected) interface combinations?
                                        pfSense: 2.1.5-RELEASE (amd64) (and 2.1.4-RELEASE (amd64) and 2.1.3-RELEASE (amd64))
                                        WAN: Intel 82579L (on Intel DQ77KB)
                                        LAN: Intel 82579LM (on Intel DQ77KB)
                                        VLAN: No
                                        Symptom: outgoing traffic reported 2x in both directions (upload and download)

                                        1 Reply Last reply Reply Quote 0
                                        • DerelictD Offline
                                          Derelict LAYER 8 Netgate
                                          last edited by

                                          It's a known bug in the underlying FreeBSD.

                                          Chattanooga, Tennessee, USA
                                          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                          Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                          1 Reply Last reply Reply Quote 0
                                          • P Offline
                                            phil.davis
                                            last edited by

                                            @Derelict:

                                            It's a known bug in the underlying FreeBSD.

                                            Can you give a link to the bug?
                                            It would be good to fix up little crud like this. It puts off people new to pfSense when something like the traffic graph shows an obviously wrong figure.

                                            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                                            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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