7 Replies Latest reply on May 19, 2016 9:04 AM by Bill Robinson

    Memory Utilization of Bladelogic

    Natali Nogueira

      Here, we have 02 AppServer and 01 File Server.

      Both are showing high memory and console and execution of jobs was too slow. Often the console crashes.

       

       

      But on server the Memory consumption is too low. Part of available memory is in cache.

       

      How to works the memory utilization on the Bladelogic?

      And How to utilize the memory in cache  on application?

        • 1. Re: Memory Utilization of Bladelogic
          Bill Robinson

          how much memory in the system (24g? 20g?)

          how many instances of the appserver per host ?

          max heap per instance?

          are you running the console from the appserver ?

          how much memory is the appserver process eating up?

          you realize that 'free' memory on linux is 'free' + 'cache' right ?

          • 2. Re: Memory Utilization of Bladelogic
            Natali Nogueira

            how much memory in the system (24g? 20g?)

            AppServer has 24 GB.

            File Server has 02 GB.

             

            how many instances of the appserver per host ?

            One instance for each AppServer (Physical Server).

            max heap per instance?

            Maximum JVM Memory (B) = 5,726,666,752

            Total JVM Memory (B) = 1,326,841,856

            Free JVM Memory (B) = 262,786,560

            Used JVM Memory (B) = 1,064,055,296

             

            are you running the console from the appserver ?

            No, From the desktop.

             

            how much memory is the appserver process eating up?

            About 5GB.

             

            you realize that 'free' memory on linux is 'free' + 'cache' right ?

            Yes.

            • 3. Re: Memory Utilization of Bladelogic
              Bill Robinson

              So if the java process is consuming 5gb on the system, you need to see what else is consuming memory.

               

              The console typically consumes ~400mb of memory when running and actively opening and working on objects.

              • 4. Re: Memory Utilization of Bladelogic
                Natali Nogueira

                Ok.
                But, Why the application does not use the memory of cache?

                So the Java process is consuming 5GB and The Appplicatoin also is consuming  5GB.

                 

                free -m

                                     total      used       free     shared    buffers     cached

                Mem:         24103      22200       1902          0        231      17401

                -/+ buffers/cache:       4567      19535

                Swap:         3084        418       2666

                • 5. Re: Memory Utilization of Bladelogic
                  Bill Robinson

                  The Appplicatoin also is consuming  5GB. -> what does that mean?  what application ? what process, other than the java process for the appserver, do you see using 5gb of memory on the box ?

                   

                  You have 17g of cache there.  that’s essentially free and will be flushed when the kernel needs it.  The -/+ buffers cache indicates that only about 5g is actually used by something on the box.  from the previous post even though the max heap is 5g, not all of that is actually in use.

                   

                  so i’m not understanding the problem here.

                  • 6. Re: Memory Utilization of Bladelogic
                    Natali Nogueira

                    Sorry, I understand English just a little.

                     

                    what does that mean?  what application ?

                    On Console, The AppServers are showing high consumption of Memory.

                    I see using the options below:

                     

                    So the '%Mem' refers to the max heap?

                    • 7. Re: Memory Utilization of Bladelogic
                      Bill Robinson

                      the 'view memory usage' command runs the 'nmem' command which gives you something similar to the 'free' output you are looking at from the os.

                       

                      it shows the total memory used, memory free, swap used, etc etc. it looks like the 'nmem' does not include the buffers/cache in the listing and is including a similar 'free' value as the 'free' command you run on the os.

                       

                      you also show two outputs here - are these from the same system just at different times ?

                       

                      so again - what is the actual problem ?  you goto the os and run the 'free' command and it shows you that only about 5gb out of 24g are actually in use on the system.  i don't see that this indicates a problem.