• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Memory Question

    Scheduled Pinned Locked Moved
    General
    3
    10
    1.7k
    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.
    • adukes40A
      adukes40
      last edited by

      When I log in via putty and the statistics page comes up it says the memory usage is about 10%. Yet when I run TOP, it was 4046992 Total, 381886 Used, xxxxx Free.

      Can someone explain why one says on 10% and the other basically maxed? I am trying to figure if I need to add more RAM or not.

      Thanks.

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @adukes40
        last edited by Wayne Workman

        @adukes40

        Can we see the actual output?

        free -h and top

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          10% of 4046992 = 404699.2

          381886/4046992 = 0.094362962…

          My guess is it’s rounding up to the nearest.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • adukes40A
            adukes40
            last edited by

            0_1466424471169_upload-22277375-1571-4199-8a09-dc2467b235e5

            0_1466424497793_upload-0fa45aeb-d85d-4bc8-a2e0-c83d25e76d7a

            Also what is up with Zombie Processes?

            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @adukes40
              last edited by

              @adukes40 https://en.wikipedia.org/wiki/Zombie_process
              10% is not much usage. I don’t understand what the post is looking for.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman
                last edited by

                Top says maybe 10% is free, with 3.9 total and 3.6 used.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  In the free -h screen you see, it shows you have about 10% memory available, but… linux doesn’t just keep memory cleaned up all the time as it’s more resource intensive to load process to ram, send to cpu, and clear the ram once cpu is done. Often times the same cycles of memory are in use so the data that’s being called get’s put into a cached state.

                  (the Cached 3.1G you see on the free screen).

                  This doesn’t mean you only have about 224M free to use, it just means the current unused RAM is 224M.

                  If a process needs more ram, Linux will clear up the space it needs. If you’re still really concerned about this you can temporarily clear the cache with:

                  sync; echo 3>|/proc/sys/vm/drop_caches; sync; echo 0 >|/proc/sys/vm/drop_caches

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  adukes40A 1 Reply Last reply Reply Quote 0
                  • adukes40A
                    adukes40 @Tom Elliott
                    last edited by

                    @Tom-Elliott AHH, Ok. thanks Tom. I did not know that it was caching that. I was baffled at why it was always maxed, when actually it is not. Basically, adding more memory would just allow for more cached processes to be kept?

                    Wayne WorkmanW Tom ElliottT 2 Replies Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman @adukes40
                      last edited by

                      @adukes40 From what I gather, yes. And more ram = more caching = good.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @adukes40
                        last edited by

                        @adukes40 I suppose yes. What you should be concerned with in regards to memory is if you see a lot of stuff moving in out out of SWAP space.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        188

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project