• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • A
    adukes40
    last edited by Jun 20, 2016, 11:54 AM

    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.

    W 1 Reply Last reply Jun 20, 2016, 12:06 PM Reply Quote 0
    • W
      Wayne Workman @adukes40
      last edited by Wayne Workman Jun 20, 2016, 6:11 AM Jun 20, 2016, 12:06 PM

      @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
      • T
        Tom Elliott
        last edited by Jun 20, 2016, 12:07 PM

        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
        • A
          adukes40
          last edited by Jun 20, 2016, 12:08 PM

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

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

          Also what is up with Zombie Processes?

          T 1 Reply Last reply Jun 20, 2016, 12:11 PM Reply Quote 0
          • T
            Tom Elliott @adukes40
            last edited by Jun 20, 2016, 12:11 PM

            @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
            • W
              Wayne Workman
              last edited by Jun 20, 2016, 12:13 PM

              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
              • T
                Tom Elliott
                last edited by Jun 20, 2016, 12:14 PM

                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

                A 1 Reply Last reply Jun 20, 2016, 12:20 PM Reply Quote 0
                • A
                  adukes40 @Tom Elliott
                  last edited by Jun 20, 2016, 12:20 PM

                  @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?

                  W T 2 Replies Last reply Jun 20, 2016, 12:22 PM Reply Quote 0
                  • W
                    Wayne Workman @adukes40
                    last edited by Jun 20, 2016, 12:22 PM

                    @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
                    • T
                      Tom Elliott @adukes40
                      last edited by Jun 20, 2016, 12:22 PM

                      @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
                      1 / 1
                      • First post
                        3/10
                        Last post

                      287

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project