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

    Dpinger lots of cpu

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    38 Posts 6 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.
    • C
      cmb
      last edited by

      Could you send me a backup of your config? PM here or email cmb at pfsense dot org. The copy from status.php (which removes password hashes, certificates, etc.) would suffice.

      1 Reply Last reply Reply Quote 0
      • O
        Ofloo
        last edited by

        done

        1 Reply Last reply Reply Quote 0
        • O
          Ofloo
          last edited by

          amd64
          10.3-RELEASE
          FreeBSD 10.3-RELEASE #7 51f8df0(RELENG_2_3): Mon Apr  4 08:10:48 CDT 2016     root@ce23-amd64-builder:/builder/pfsense/tmp/obj/builder/pfsense/tmp/FreeBSD-src/sys/pfSense
          
          Crash report details:
          
          PHP Errors:
          [04-Apr-2016 20:55:58 Europe/Brussels] PHP Stack trace:
          [04-Apr-2016 20:55:58 Europe/Brussels] PHP   1\. {main}() /etc/rc.filter_configure_sync:0
          [04-Apr-2016 20:55:58 Europe/Brussels] PHP   2\. filter_configure_sync() /etc/rc.filter_configure_sync:37
          [04-Apr-2016 20:55:58 Europe/Brussels] PHP   3\. filter_generate_gateways() /etc/inc/filter.inc:288
          [04-Apr-2016 20:55:58 Europe/Brussels] PHP   4\. return_gateway_groups_array() /etc/inc/filter.inc:881
          [04-Apr-2016 20:55:58 Europe/Brussels] PHP   5\. return_gateways_status() /etc/inc/gwlb.inc:891
          [04-Apr-2016 20:55:58 Europe/Brussels] PHP   6\. get_dpinger_status() /etc/inc/gwlb.inc:421
          [04-Apr-2016 20:55:58 Europe/Brussels] PHP   7\. stream_socket_client() /etc/inc/gwlb.inc:346
          
          1 Reply Last reply Reply Quote 0
          • O
            Ofloo
            last edited by

            Strange I changed my dns servers in general settings, had to do it twice because for some reason like gateways it won't take it after the first time, .. but now dpinger has settled, .. with max of 10% which seems very acceptable to me ? Not sure how this relates, .. the widget of openvpn is doing something strange not updating, .. says all the vpns are down while there not.

            I'll reboot tomorrow and see if it stays that way.

            edit:

            i also removed few firewall rules, .. if it stays this way then i'll email you the updated configuration, .. so you can compare.

            screenshot.png
            screenshot.png_thumb

            1 Reply Last reply Reply Quote 0
            • O
              Ofloo
              last edited by

              only unbound and route tend to go high, .. unbound sometimes 69% and route 20% ? seems high but anyways.

              sceenshot.png
              sceenshot.png_thumb

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

                99.6% idle and 100% load. Yeah, "load" is a loaded term in Unix. It includes IO wait among other things as part of the calculations.

                1 Reply Last reply Reply Quote 0
                • O
                  Ofloo
                  last edited by

                  Not sure what it is you mean.

                  The 99% idle load you're referring to is probably because it's going up and down and hasn't been updated. There's an update delay on the processes. Just my 2c.

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

                    Depending on your flavor of Unix, load includes some percentage IO wait time. Even if a process is not using any CPU, a process can dramatically contribute to the "load" of the system if it's blocking on an IO event. I'm not sure what all blocking IO events contribute to load. Would be strange to include network IO.

                    But like you mentioned, it's probably something simpler, like update timing.

                    1 Reply Last reply Reply Quote 0
                    • O
                      Ofloo
                      last edited by

                      I'm not sure why dns matters when it comes to dpinger, but its got something to do with it.

                      Do not use the DNS Forwarder as a DNS server for the firewall
                      

                      When I check the checkbox, the cpu remains at 0-15%, however when I uncheck the checkbox it shoots to 150% and stays there.

                      1 Reply Last reply Reply Quote 0
                      • O
                        Ofloo
                        last edited by

                        here's something weird, .. so i started to look into this dns thing, and what i found out was it was because the dns server didnd't work that dpinger settled down, .. i recently changed the first dns server to 172.16.1.10 which apparently didn't respond to everything except the firewall, probably some gateway issue, however but since it didn't respond, cpu usage went down!?

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