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

PfSense Memory only showing 1GB

Hardware
3
19
1.1k
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.
  • C
    chrisuan
    last edited by Dec 14, 2023, 5:33 AM

    Anyone running into an issue of where PfSense only showing 1GB memory and xx of 961MiB of Memory Usage in the dashboard even though 16GB is allocated in Proxmox?

    login-to-view

    login-to-view

    login-to-view

    V 1 Reply Last reply Dec 14, 2023, 11:23 AM Reply Quote 0
    • V
      viragomann @chrisuan
      last edited by Dec 14, 2023, 11:23 AM

      @chrisuan
      I guess, you have ballooning enabled.
      To really allocate the whole 16 GB to the VM, disable ballooning.

      C 1 Reply Last reply Dec 15, 2023, 5:01 AM Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Dec 14, 2023, 7:22 PM

        Hmm, I'd still expect the OS to see it as the full size all the time though.

        1 Reply Last reply Reply Quote 0
        • C
          chrisuan @viragomann
          last edited by Dec 15, 2023, 5:01 AM

          @viragomann You are absolutely right. It does appear that balooning is enabled by default. However, the minimum memory is also set for 16GB which I'm still puzzled on how this works actually.

          login-to-view

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Dec 15, 2023, 4:57 PM

            There's no point enabling ballooning if you set the minimum size to the same as full size IMO.

            But either way I expect the guest OS to see the full size all the time.

            C 1 Reply Last reply Dec 16, 2023, 6:48 PM Reply Quote 0
            • C
              chrisuan @stephenw10
              last edited by Dec 16, 2023, 6:48 PM

              @stephenw10

              Good point! I have disabled balooning completely and reduced the amount of RAM allocated for PFSense to 8GB.
              However I am still not seeing the correct value in the dashboard.

              Can anyone help if you have a solution for this?

              login-to-view

              login-to-view

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Dec 17, 2023, 4:00 AM

                What do you see in the boot logs? For example:

                real memory = 4294967296 (4096 MB)
                avail memory = 4007649280 (3821 MB)
                
                C 1 Reply Last reply Dec 17, 2023, 5:01 AM Reply Quote 0
                • C
                  chrisuan @stephenw10
                  last edited by Dec 17, 2023, 5:01 AM

                  @stephenw10 Can you tell me where and how to find that information?

                  C 1 Reply Last reply Dec 17, 2023, 5:13 AM Reply Quote 0
                  • C
                    chrisuan @chrisuan
                    last edited by Dec 17, 2023, 5:13 AM

                    Found it!

                    login-to-view

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Dec 17, 2023, 3:05 PM

                      Hmm, well that explains the dashboard. Seems like a hypervisor issue.

                      Was it ever set to 1G?

                      Has the VM been shutdown since it was changed?

                      V C 2 Replies Last reply Dec 17, 2023, 4:38 PM Reply Quote 0
                      • V
                        viragomann @stephenw10
                        last edited by Dec 17, 2023, 4:38 PM

                        @stephenw10 said in PfSense Memory only showing 1GB:

                        Has the VM been shutdown since it was changed?

                        Yes, it needs to be shut down. If you only reboot, the hypervisor cannot take over memory changes.

                        I tried to reproduce this issue. But I get the correct memory in pfSense, even with ballooning enabled.

                        I installed 2.7.2 on Proxmox 7.4 with 2 GB RAM. Then I changed the RAM to 3 GB. After I shut down the VM and booted up the memory was shown up correctly with 3GB again.

                        C 1 Reply Last reply Dec 17, 2023, 5:39 PM Reply Quote 0
                        • C
                          chrisuan @viragomann
                          last edited by chrisuan Dec 17, 2023, 5:40 PM Dec 17, 2023, 5:39 PM

                          @viragomann Hi Thanks for the response.

                          When I changed the memory assignment/allocation in Proxmox from 16GB to 8GB and disable balooning, one of the step to get the VM to take the new configuration is to shutdown and power back on. However, in the PfSense itself I am still seeing it registered with 1GB unfortunately. :(

                          1 Reply Last reply Reply Quote 0
                          • C
                            chrisuan @stephenw10
                            last edited by Dec 17, 2023, 5:53 PM

                            @stephenw10....since the initial setup of this PfSense, I've always have it set with 16GB memory. Yes, the VM have been shutdown on numerous occasions. Last shutdown was when I disabled the balooning and reduced the memory size from 16GB to 8GB.

                            I have just now shutdown the VM, bumped the memory from 8GB to 10GB and are still seeing the same.

                            1 Reply Last reply Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Dec 17, 2023, 7:37 PM

                              Hmm, something in that VM config is passing only 1G for some reason. I don't know anything in pfSense that would present like that.

                              C 1 Reply Last reply Dec 17, 2023, 8:50 PM Reply Quote 0
                              • C
                                chrisuan @stephenw10
                                last edited by Dec 17, 2023, 8:50 PM

                                @stephenw10 ...Is there anywhere in the PfSense configuration that we can look into and edit to match the configured VM Memory?

                                V 1 Reply Last reply Dec 17, 2023, 8:59 PM Reply Quote 0
                                • V
                                  viragomann @chrisuan
                                  last edited by Dec 17, 2023, 8:59 PM

                                  @chrisuan
                                  Not sure, if there is something in pfSense you can do to solve this issue. Possibly it's given by the hypervisor.

                                  To get sure that the hypervisor provides the correct virtual hardware, just start the VM with a live-ISO and check the memory inside the OS then.

                                  C 1 Reply Last reply Dec 17, 2023, 9:46 PM Reply Quote 2
                                  • S
                                    stephenw10 Netgate Administrator
                                    last edited by Dec 17, 2023, 9:04 PM

                                    Yeah, like I said, I'm not aware of anything you could set in pfSense that would make it present like that.

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      chrisuan @viragomann
                                      last edited by Dec 17, 2023, 9:46 PM

                                      @viragomann Thanks....will give it a shot.

                                      C 1 Reply Last reply Oct 11, 2024, 6:19 PM Reply Quote 0
                                      • C
                                        chrisuan @chrisuan
                                        last edited by Oct 11, 2024, 6:19 PM

                                        Wanted to provide an update regarding this issue to share awareness for those who are running into the similar issue I was experiencing.

                                        I stumbled upon this forum, https://forum.proxmox.com/threads/not-showing-correct-ram-for-vm.70219/ and I confirmed inside of the Proxmox VM configuration, I had HotPlug enabled for both Memory and CPU.

                                        As soon as I removed this from the VM Option and reboot, it resolved my issue and now I can see the correct Memory Allocation in the PFSense Dashboard.

                                        login-to-view

                                        login-to-view

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