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

    Get Swap Space Failed

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 3 Posters 1.4k Views 3 Watching
    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.
    • ? Offline
      A Former User
      last edited by stephenw10

      Any ideas?

      I am running snort as a service and I am protecting a dmz

      b0f15e15-c8f5-4fe0-a0d4-44a8b506d443-image.png

      luckman212L 1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator
        last edited by

        Something exhausted the SWAP, which usually means it also exhausted the RAM.

        Check the current values for both on the dash.

        Check the monitoring graphs to see what was being used.

        Check Diag > System Activity to what's using it.

        Steve

        1 Reply Last reply Reply Quote 0
        • luckman212L Offline
          luckman212 LAYER 8 @Guest
          last edited by

          @silence Wild guess, but I was out of swap yesterday and seems like it was caused by this bug: redmine #12095. There's a fix in there.

          ? 1 Reply Last reply Reply Quote 1
          • ? Offline
            A Former User @luckman212
            last edited by

            @luckman212, something definitely consumes all my ram but well restart and for now everything normal. I'll let you know if it happens again.

            @stephenw10 said in Snort:

            Check the current values for both on the dash.

            it is impossible to visualize the dash because pfsense stopped working it closed completely 100% offline

            1 Reply Last reply Reply Quote 0
            • stephenw10S Offline
              stephenw10 Netgate Administrator
              last edited by

              You still have CLI access?

              Try running: top -aSH

              If it's completely non-responsive it could just be a failed disk.

              Steve

              ? 1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User @stephenw10
                last edited by

                @stephenw10 said in Snort:

                If it's completely non-responsive it could just be a failed disk.

                Sorry I forgot to mention this runs in a virtual machine along with tons of other vm's

                1 Reply Last reply Reply Quote 0
                • stephenw10S Offline
                  stephenw10 Netgate Administrator
                  last edited by

                  Ok, so try running top -aSH at the virtual console.

                  ? 1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @stephenw10
                    last edited by

                    @stephenw10, right now it works normal if it fails again run this command.
                    I normally don't like to play pfsense during business hours

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S Offline
                      stephenw10 Netgate Administrator
                      last edited by

                      Ok, did you check the memory usage history in the monitoring graphs?

                      Or presumably your hypervisor records the VM memory usage too?

                      Steve

                      ? 1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User @stephenw10
                        last edited by

                        @stephenw10 said in Get Swap Space Failed:

                        Ok, did you check the memory usage history in the monitoring graphs?

                        As I said, just restart the pfsense vm and everything worked again, then I sleep until work hours are over and I can log in to monitor...

                        I don't like to touch anything when it's producing $

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