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

    Problems with SSD filling up

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 3 Posters 1.6k 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.
    • peteP
      pete
      last edited by

      Thank you teamits.

      Helping peer new2fire I found the large files to be either snort or squid related a few months ago. I manually deleted the logs and a week or so later they were there.

      Over time the user rebuilt box from scratch and it happened again.

      • Pete

      Auto mater
      23.09.1-RELEASE (amd64)
      built on Mon Dec 11 12:24:00 CST 2023
      FreeBSD 14.0-CURRENT
      PFSense + Qotom - Master
      PFSense + Jetway - Backup
      PFSense + Jetway - Backup
      PFSense + Generic - Backup

      1 Reply Last reply Reply Quote 1
      • N
        new2fire
        last edited by

        Also getting following error:

        PHP errors

        PHP ERROR: Type: 1, File: /usr/local/pkg/pfblockerng/pfblockerng.inc, Line: 2496, Message: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8192 bytes) @ 2018-06-20 15:48:17

        1 Reply Last reply Reply Quote 0
        • N
          new2fire @SteveITS
          last edited by new2fire

          @teamits I did the

          find / -type f -size +50M

          and got the following:

          /root/ntopng.core 125595648 is the size of that file

          1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire
            last edited by

            The PHP error is the PHP process going over 512 MB RAM. That's pretty big for a PHP process. Do you have a lot of pfBlockerNG aliases or something? Check Firewall/pfBlockerNG/Logs? It should be only a relatively few lines per day. (50?)

            The .core file is going to be a core dump for a crashed process and delete-able. Even if it's huge, and taking up lots of space by itself, that wouldn't explain "slowly filling up."

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote ๐Ÿ‘ helpful posts!

            1 Reply Last reply Reply Quote 1
            • N
              new2fire
              last edited by

              Under "StatusSystem/Logs/Firewall/Normal View"

              there are a lot. the 50 that fill up the page occur within 6 min.

              Under "Firewall/pfBlockerNG/Logs" What am I looking for? Nothing shows up in 'log'. There are several drop downs, but not sure what to select.

              1 Reply Last reply Reply Quote 0
              • S
                SteveITS Galactic Empire
                last edited by

                We have our pfB,lockerNG updating once a day. What is the CRON Settings schedule set to on Firewall/pfBlockerNG/General?

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote ๐Ÿ‘ helpful posts!

                1 Reply Last reply Reply Quote 2
                • N
                  new2fire
                  last edited by

                  it is set to every hour. The default setting.

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

                    So, Under: Firewall/pfBlockerNG/General

                    I changed the "Log File Size" from default 20,000 to 10,000. It immediately dropped my disk usage to 10%. That must have been it. The default PFSense setting must assume most users will have larger drive. Thank you both and I will keep monitoring and provide update.

                    I also changed the Cron setting to once a day. But I don't think that this was the issue.

                    1 Reply Last reply Reply Quote 0
                    • peteP
                      pete
                      last edited by

                      Good news new2fire!!

                      • Pete

                      Auto mater
                      23.09.1-RELEASE (amd64)
                      built on Mon Dec 11 12:24:00 CST 2023
                      FreeBSD 14.0-CURRENT
                      PFSense + Qotom - Master
                      PFSense + Jetway - Backup
                      PFSense + Jetway - Backup
                      PFSense + Generic - Backup

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        new2fire @pete
                        last edited by

                        So, I have been watching my disk space again and it is creeping up again. It is up to 45% since I posted that I had gotten it down to 10%, 25 days ago. I have not made any changes.

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