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

    Why swap memory is higher than real entered number?

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 3 Posters 975 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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      Then that's why. You have swap on each disk, total is double.

      It doesn't mirror swap, no need to do that.

      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • emammadovE
        emammadov
        last edited by

        Is it recommended to mirror swap or leave as double?

        Elvin

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          There is zero reason to mirror swap. It is not important data. It is temporary and volatile. Mirroring would slow swap down even more than it already is. Leave it as separate swap slices and keep it double.

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • emammadovE
            emammadov
            last edited by

            Thank you very much for your clear answer.

            Elvin

            1 Reply Last reply Reply Quote 0
            • emammadovE
              emammadov
              last edited by

              I looked at carefully. Dashboard shows 4GB of swap memory, while top and swapinfo commands show 8GB of swap memory.

              0_1539239838008_1.jpg
              1_1539239838008_2.jpg
              2_1539239838008_3.jpg

              Elvin

              1 Reply Last reply Reply Quote 0
              • R
                RichardBud
                last edited by

                That's very odd. They should be both showing 4GB, no?

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  Are you on 2.4.4? Until 2.4.4, it did not count all swap partitions on the dashboard widget -- https://redmine.pfsense.org/issues/8587

                  Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • emammadovE
                    emammadov
                    last edited by emammadov

                    I am using 2.4.3p1 version. It has been fixed in 2.4.4 release?

                    Elvin

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      Yes, it has been fixed on 2.4.4. Follow the link I put above and you'll see.

                      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • emammadovE
                        emammadov
                        last edited by

                        Thank you very much.

                        Elvin

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