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

    running out of swap space

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 3 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.
    • F
      f5alcon
      last edited by

      Today I started running out of swap space after about 5 minutes from boot. At which point new devices can't connect and I can't use ssh or web gui unless i reboot.
      Screenshot 2023-03-07 100758.png
      Those are the only packages installed now. I uninstalled suricata and PFblockerNG
      Screenshot 2023-03-07 094710.png
      It seems like it is /usr/lib/sys/rcu_bj but I am not sure what that is.

      F 1 Reply Last reply Reply Quote 0
      • F
        f5alcon @f5alcon
        last edited by

        @f5alcon 901d027f-c42d-42a0-aab1-953ea30b5c7f-image.png

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

          @f5alcon I see these in a quick search:

          https://www.reddit.com/r/PFSENSE/comments/10osmp6/anyone_know_anything_about_rcu_udev_rcu_libk_or/

          https://forum.netgate.com/topic/177466/usr-lib-sys-rcu_bj-usr-lib-sys-rcu_udev

          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!

          F 1 Reply Last reply Reply Quote 1
          • F
            f5alcon @SteveITS
            last edited by

            @steveits Thanks, I removed all of the files in the /usr/lib/sys directory and now it seems fine. Probably will do a full reinstall and drive format and restore my config from xml just to be sure.

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

              Yes, you should reinstall clean and make sure you don't have the gui open to the internet.

              F 1 Reply Last reply Reply Quote 0
              • F
                f5alcon @stephenw10
                last edited by

                @stephenw10 How do i check for the gui being exposed to the internet? I created a WAN firewall rule to block https traffic to the IP of the system. changed the port and turned off ssh access and moved from a 12 character to 30+ character password.

                I reinstalled and upgraded from 2.6 to pfsense+ 23.01 as well and reconfigured pfblocker.

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

                  @f5alcon said in running out of swap space:

                  How do i check for the gui being exposed to the internet?

                  Check the WAN rules (another recent poster had a block rule but it was using a Source of WAN Address, so was completely open). [edit: because they had also added an allow all rule ๐Ÿคฆ ]

                  Check the GUI Service log at https://xxxx/status_logs.php?logfile=nginx for public IP addresses.

                  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
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    By default all traffic inbound is blocked on the WAN anyway so this only applies if you've added a rule to pass traffic.

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