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

Dashboard Traffic Graphs…SPIKES

2.3.3 Development Snapshots
6
12
4.5k
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.
  • V
    Valeriy
    last edited by Mar 7, 2017, 1:29 PM Feb 22, 2017, 2:46 PM

    Hi!

    Is it possible to revert the traffic graphs to how it was in 2.3.2?
    Now it shows unnecessary spikes even when there is none. Tried different browsers, the result is the same.
    I had thought that limiters or other packages might have interfered , so I installed 2.3.3 and 2.4.b onto different VMs, ran iperf and got the same issues.

    Result is the same, disregardless of:

    -  different browsers, including keeping current TAB always active or inactive

    • system in production or clean install (without load).
    • with different time interval (1-10sec)
    • different interfaces
    • pfsense 2.3.3 and 2.4.0b are affected
    • etc.

    It shows spikes where clearly there weren't.

    Verified interface load with
    >systat -ifstat 1 on corresponding systems

    speed remained stable ..

    Nobody else experienced it?

    Screenshots are attached.

    ![pfsense graph1.png](/public/imported_attachments/1/pfsense graph1.png)
    ![pfsense graph1.png_thumb](/public/imported_attachments/1/pfsense graph1.png_thumb)
    ![pfsense graph2.png](/public/imported_attachments/1/pfsense graph2.png)
    ![pfsense graph2.png_thumb](/public/imported_attachments/1/pfsense graph2.png_thumb)

    1 Reply Last reply Reply Quote 0
    • V
      Valeriy
      last edited by Feb 22, 2017, 2:51 PM

      Sometimes it stalls for a few seconds, and shows spike for x3 higher than average b/w load. seems to be that data is gathered by browser app in specific way directly instead of getting correct interface loads from pfSense OS.

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Feb 24, 2017, 2:44 PM

        Open a bug report for that on https://redmine.pfsense.org

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • R
          RonpfS
          last edited by Feb 24, 2017, 6:42 PM

          I was able to reproduce the spikes in two ways :

          1. in pfBlockerNG / Alerts, it takes about a minute to gather all the alerts and do DNS lookup
          2. in pfBlockerNG / Update / View log until you click on End View

          Both Status Traffic Graphs and Widget Traffic graph showed spikes.
          There is probably other ways to reproduce the spikes.

          WidgetTGSpikes.JPG
          WidgetTGSpikes.JPG_thumb
          TGSpikeCapture.JPG
          TGSpikeCapture.JPG_thumb

          2.4.5-RELEASE-p1 (amd64)
          Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
          Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

          1 Reply Last reply Reply Quote 0
          • P
            PiBa
            last edited by Feb 25, 2017, 4:22 PM

            Tried to optimize trafficgraph data retrieval a bit, can you guys test if it mitigates the issue.?

            https://github.com/pfsense/pfsense/pull/3585

            The way the graphs call to ifstat.php to get the latest usage number doesn't seem to have changed much so doesnt explain why it would only start to happen with 2.3.3 / 2.4 so that by itself shouldn't be the issue.. It could be a different issue underneath somewhere. With pullrequest above large parts of the re-authentication code/initialization are skipped. Anyhow I hope it helps for this case as well.

            1 Reply Last reply Reply Quote 0
            • P
              PiBa
              last edited by Feb 25, 2017, 10:00 PM

              Okay new patches available :).

              First one same as above but now with a 2.3 link as well:

              traffic-graphs, optimize retrieval of data every x seconds

              For 2.3: https://github.com/PiBa-NL/pfsense/commit/34e1ceabf20419a1e1d8436c03504a0d7706be5d
              For 2.4: https://github.com/pfsense/pfsense/pull/3585

              The second commit seems to have more effect, combined they are even better. From initial testing the 'big spikes' are gone, a few small ones seem to remain though. Not sure yet what can be done there without moving to a whole different method for retrieving the data needed..

              flash_message, commit session when done with it

              For 2.3 https://github.com/PiBa-NL/pfsense/commit/d188e833d1c7a0756517b9e92bf41535fff9973a
              For 2.4 https://github.com/pfsense/pfsense/pull/3587

              I'm interested in any issues that might arise.

              1 Reply Last reply Reply Quote 0
              • G
                grandrivers
                last edited by Feb 25, 2017, 10:37 PM

                I havent tested patches yet but on graph related problems i noticed we not apparent in widget its in the status/traffic graph page where graph does not match chart I need to make a video it then becomes obvious

                thread link to problem
                https://forum.pfsense.org/index.php?topic=125520.0

                pfsense 2.4 super micro A1SRM-2558F
                C2558 8gig ECC  60gig SSD
                tripple Wan dual pppoe

                1 Reply Last reply Reply Quote 0
                • V
                  Valeriy
                  last edited by Mar 7, 2017, 12:45 PM

                  I am going to test the patches today.

                  So far I have found the following:

                  • seems to be phpfm process problems might have influenced the behaviour or other bottlenecks between pfsense and monitoring PC

                  • after Ntopng removal problem is not longer that obvious (spikes are still there but not more than 10% of current interface load average, and they do happened less frequent).

                  • network latency issues / monitoring PC CPU utilization 100% also trigger the issues.

                  Will be back after patches are tested.

                  1 Reply Last reply Reply Quote 0
                  • V
                    Valeriy
                    last edited by Mar 7, 2017, 1:27 PM

                    Sorry for my ignorance, if somebody could quickly tell what is proper process of applying these custom patches?
                    …Manually editing the related files?

                    1 Reply Last reply Reply Quote 0
                    • H
                      heper
                      last edited by Mar 7, 2017, 1:44 PM

                      install the system_patches package / then you can copy/paste the commit url

                      1 Reply Last reply Reply Quote 0
                      • J
                        jimp Rebel Alliance Developer Netgate
                        last edited by Mar 7, 2017, 1:56 PM

                        @Valeriy:

                        Sorry for my ignorance, if somebody could quickly tell what is proper process of applying these custom patches?
                        …Manually editing the related files?

                        1. Use the System Patches package which shows up under System > Packages once installed
                        2. Create a new patch entry, give it a name, paste in the URL to a commit -OR- if you want to test a pull request, enter the pull request URL with ".diff" added on. For example, to test https://github.com/pfsense/pfsense/pull/3585 enter https://github.com/pfsense/pfsense/pull/3585.diff
                        3. Save, fetch, apply

                        If there are changes on the PR and you need to update: Revert, fetch, apply

                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                        Need help fast? Netgate Global Support!

                        Do not Chat/PM for help!

                        1 Reply Last reply Reply Quote 0
                        • V
                          Valeriy
                          last edited by Mar 7, 2017, 2:26 PM

                          Thanks!

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