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

    pfBlockerNG-devel cron job stuck @ Loading DNSBL Statistics...

    Scheduled Pinned Locked Moved pfBlockerNG
    8 Posts 3 Posters 1.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.
    • S
      subodh.c
      last edited by

      Hello All,

      I am on version:
      pfsense: 2.4.5-p1
      pfBlockerNG-devel: 2.2.5_33

      Cron job hangs in the below step.

      group

      
      ===[  DNSBL Process  ]================================================
      
       Loading DNSBL Statistics...
      

      I have cleared all the logs still would not go away.
      Is there a way to clear the stats

      Thanks

      1 Reply Last reply Reply Quote 0
      • S
        subodh.c
        last edited by

        The default dashboard in the index page started timing out. Ended up un-installing. I will wait for few more days before I install it again.

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan
          last edited by

          Hi,

          What's your memory size ?

          How many feeds / feeds size ?

          598172bc-9373-4e96-bd81-490ca73eb265-image.png

          At the "Loading DNSBL Statistics..." stage, it's reading the SQIGHT PHP-based database(s).
          They are here : /var/db/pfblockerng/ - the dot sqlite files (2, 3 or 4 files).

          What about stopping pfBlockerNG, delete these two files, and restart - force an update reload.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • S
            subodh.c
            last edited by subodh.c

            @Gertjan said in pfBlockerNG-devel cron job stuck @ Loading DNSBL Statistics...:

            Hello @Gertjan ,
            Thanks a lot for responding.

            What's your memory size ?
            4GB RAM

            How many feeds / feeds size ?
            ~29 feeds.

            delete the below files

            dnsbl.sqlite
            dnsbl_levent.sqlite
            

            Did not start. Forced install and it still freezes

            GertjanG 1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @subodh.c
              last edited by

              @subodh-c said in pfBlockerNG-devel cron job stuck @ Loading DNSBL Statistics...:

              29 feeds.

              '29' is nothing.
              How many (hundreds - tens of) thousands entries - see my image above. My question mark is on the second codon, not the first.
              pfBlockerNG-devel accepts everything "up to the memory ceiling" and even more - and then the system starts to swap .... which means : it becomes one big crawl.

              What I would do : when issues, start with one or two feeds, and re test.

              @subodh-c said in pfBlockerNG-devel cron job stuck @ Loading DNSBL Statistics...:

              dnsbl.sqlite
              dnsbl_levent.sqlite

              When the process started, they were recreated ?

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • S
                subodh.c
                last edited by subodh.c

                Here's an extract of the force update. It hangs on the last line Saving DNSBL database...
                As suggested I have tried this with my complete list and also with just EasyList_Adware 100 entries.
                forceupdate.zip
                File sizes:

                [2.4.5-RELEASE][admin@blackbox.home]/var/db/pfblockerng: ls -la
                total 48
                drwxr-xr-x  11 root  wheel   512 Jun 17 10:21 .
                drwxr-xr-x   8 root  wheel   512 Jun 17 09:46 ..
                drwxr-xr-x   2 root  wheel   512 Jun 16 21:46 ET
                drwxr-xr-x   2 root  wheel   512 Jun 16 21:46 deny
                drwxr-xr-x   2 root  wheel  1024 Jun 17 10:21 dnsbl
                -rw-r--r--   1 root  wheel     0 Jun 16 22:00 dnsbl.sqlite.bkp
                -rw-r--r--   1 root  wheel     0 Jun 17 10:21 dnsbl_levent.sqlite
                -rw-r--r--   1 root  wheel     0 Jun 16 21:47 dnsbl_levent.sqlite.bkp
                drwxr-xr-x   2 root  wheel   512 Jun 16 22:03 dnsblalias
                drwxr-xr-x   2 root  wheel  1024 Jun 17 10:21 dnsblorig
                -rw-r--r--   1 root  wheel     0 Jun 17 10:21 mastercat
                -rw-r--r--   1 root  wheel     0 Jun 17 10:21 masterfile
                drwxr-xr-x   2 root  wheel   512 Jun 16 21:46 match
                drwxr-xr-x   2 root  wheel   512 Jun 16 21:46 native
                drwxr-xr-x   2 root  wheel   512 Jun 16 21:46 original
                drwxr-xr-x   2 root  wheel   512 Jun 16 21:46 permit
                -rw-r--r--   1 root  wheel  2152 Jun 17 10:21 pfbdnsblsuppression.txt
                

                Memory graph:

                b00e5fc4-7da5-4482-8b7b-fd004d67cc1e-image.png

                CPU Graph:

                4c2c84cf-4c0a-436c-a490-697eb80c3a78-image.png

                1 Reply Last reply Reply Quote 0
                • RonpfSR
                  RonpfS
                  last edited by RonpfS

                  Disable BBC_DGA_Agr URL, Force Reload All

                  [ BBC_DGA_Agr ]			 Reload . completed ..
                    ----------------------------------------------------------------------
                    Orig.    Unique     # Dups     # White    # TOP1M    Final                
                    ----------------------------------------------------------------------
                    955687   64447      1          0          0          64446                
                    ----------------------------------------------------------------------
                  
                    DNSBL FAIL - Skipped! Use previous data, if found:
                  /var/db/pfblockerng/dnsbl/BBC_DGA_Agr.bk:64446: error: unknown keyword 'local-'
                  read /var/unbound/check.conf failed: 1 errors in configuration file
                  
                  [ CoinBlocker_All ]		 Reload [ 06/17/20 10:22:40 ] . completed ..
                  

                  To be on the safe side, Disable pfblockerNG, reboot, Enable pfblockerNG.

                  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

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    subodh.c @RonpfS
                    last edited by

                    @RonpfS Moved to pfblockerng and it seems to be working fine.

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