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

    Rrd reporting unsubstantiated packet loss

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 5 Posters 2.3k 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.
    • C
      clarknova
      last edited by

      2.1-RELEASE (i386)
      built on Wed Sep 11 18:16:44 EDT 2013
      FreeBSD 8.3-RELEASE-p11

      As seen in the attached snap, my rrd graph is showing a solid 2% packet loss on the WAN gateway. However pinging the WAN gateway manually from pfsense never shows any packet loss, so why is rrd recording it?
      loss.png
      loss.png_thumb

      db

      1 Reply Last reply Reply Quote 0
      • N
        NOYB
        last edited by

        What are the monitor settings?
        (System - Routing - Edit)

        1 Reply Last reply Reply Quote 0
        • C
          clarknova
          last edited by

          The settings look default to me.

          monitoring.PNG
          monitoring.PNG_thumb

          db

          1 Reply Last reply Reply Quote 0
          • N
            NOYB
            last edited by

            Do a packet capture to see whether or not all the monitor ping replies are really making it back.

            1 Reply Last reply Reply Quote 0
            • C
              clarknova
              last edited by

              Yup. 115 requests, 115 replies. Graph still showing a solid 2.0% packet loss. I'm guessing there's some bad math happening in the box somewhere.

              db

              1 Reply Last reply Reply Quote 0
              • N
                NOYB
                last edited by

                apinger service is what reports data to the quality rrd.

                apinger seems to be temperamental sometimes.

                Some things that might correct it.
                  Stop / restart apinger
                  Reboot
                  Reset RRDs (will lose existing data for all RRD graphs)

                1 Reply Last reply Reply Quote 0
                • C
                  clarknova
                  last edited by

                  Thanks for the suggestions. I now have another pfsense reporting a solid 30% packet loss. What is the recommended way to start apinger?

                  phantom.PNG
                  phantom.PNG_thumb

                  db

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

                    Resurrecting a bit of an old thread here.  Just wanted to throw my hat in the ring and say that I am seeing some behavior that I don't understand from the quality plots as well.  I am using 8.8.8.8 (google DNS) as my quality IP so that it leaves my ISP's network and I can measure quality to the real internet, not just to the ISP's gateway.

                    I am not seeing the constant packet loss like what's reported in this thread.

                    My plots instead will have strange discontinuities triggered by (for example) shutting down and restarting pfSense.  In these cases the quality ping might jump from 40ms to 80ms and stay there, and not go back until I disturb the setup somehow, usually with a reboot.  During the sustained 80ms, I can use pfSense to ping the exact same 8.8.8.8 that the plot should be recording and get a completely normal ping of around 40ms.  Yet, the quality readouts continue to report 80ms.  So, it seems like something is wrong here.  Or perhaps I am misunderstanding.

                    1 Reply Last reply Reply Quote 0
                    • B
                      Balrog30
                      last edited by

                      I'd just like to throw in that I'm seeing the same behaviour as the original post mentions, and I found this with google, so others may find this if the have the same problem.

                      To restart apinger go to Status > Services and apinger should be the first in the list.  On the right hand side there are a few buttons and the first one is used to restart the service.  Previously we would reboot the machine because we thought it was reporting actual packet loss and couldn't find any other way to correct it, just rebooting this service is a much simpler solution.

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

                        It's apinger.  I think I restart it by turning gateway monitoring off then back on for the interface.

                        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
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.