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

    Killed: out of swap space

    Scheduled Pinned Locked Moved Virtualization
    9 Posts 4 Posters 1.0k 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
      shad0wca7
      last edited by

      This was posted in reddit but I've not had any responses…

      I've seen some old posts for this but the way to check for things (RDD graphs) doesn't seem to be in the menus. I was running 2.4.0 and returned home from a day away to find the logs full of 'Killed: out of swap space' and the router non-functional. Reset it and all is OK. The system is running virtualised, 512mb ram. 3 VLANs, DNSBL, Avahi and nothing else really.

      I've upgraded to 2.4.1 incase there was a memory leak bug in the previous release but I'm none-the wise in understanding what happened. Any thoughts?
      ![Screen Shot 2017-11-05 at 14.52.21.png](/public/imported_attachments/1/Screen Shot 2017-11-05 at 14.52.21.png)
      ![Screen Shot 2017-11-05 at 14.52.21.png_thumb](/public/imported_attachments/1/Screen Shot 2017-11-05 at 14.52.21.png_thumb)

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

        Bump. Happened again last night….

        1 Reply Last reply Reply Quote 0
        • K
          kejianshi
          last edited by

          Are you running packages that even for a split second might require more memory + swap than you have?  You have to keep on top of that.

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

            512 MB of RAM seems a bit light.  Try 1 or 2 GB if you can.

            How much disk did you give the VM?

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

              The disk is 8gb. I can try upping the ram but it never really seems to go above 70% usage as it is…

              The packages are pretty light. Nothing too interesting:

              Avahi
              OpenVM Tools
              Cron
              Open VPN client export
              pfBlockerNG
              Service Watchdog

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

                Your problem isn't disk, it is RAM. If you have enough RAM you don't swap.

                The culprit is probably pfBlockerNG.

                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
                • S
                  shad0wca7
                  last edited by

                  Ok I’m going to bump it to 1G and see. Thanks for the help!

                  1 Reply Last reply Reply Quote 0
                  • K
                    kejianshi
                    last edited by

                    1.5gb?  sounds perfect.

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

                      Yep I can do that.. plenty of spare.

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