Find the answer to your Linux question:
Results 1 to 4 of 4
Hello All, OS being used: Linux uk5-rhmb303 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686 i386 GNU/Linux we are running IBM Websphere MB product on a Linux ...
  1. #1
    Just Joined!
    Join Date
    Oct 2011
    Posts
    2

    Memory Usage Issue

    Hello All,

    OS being used:
    Linux uk5-rhmb303 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686 i386 GNU/Linux

    we are running IBM Websphere MB product on a Linux RHEL box. Since many days we were noticing a high CPU usage and despite of fixing various things (like restarting MB and setting JVM properties for MB etc.,) we still see the memory usage high as always.

    We have a 4GB available RAM, out-of-which it's always shown that 3.5GB as being used, even though many processes are in idle state and not in running state.

    I used the top command to analyze the memory usage and see other factors. Please find the output of the top command in the attached file.

    How can I fix this high memory issue?

    What might be causing the memory at such high value, despite of the fact that most of the processes are in 'S' state (sleep state) as can be seen from the attached file?


    Appreciate your reply.

    Thank you
    Attached Files Attached Files

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    955
    The Linux kernel always tries to use all available memory. What isn't being used for running programs is allocated to read/write buffers or to the page cache. This makes more sense than leaving it unused. The memory is effectively free: it can be reallocated for use by processes if necessary.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  3. #3
    Just Joined!
    Join Date
    Oct 2011
    Posts
    2

    Thank you

    Thank you Hazel for the prompt reply, appreciate it.

    So, are you saying that the "Mem Used" filed which is showing 3.5GB out of a total of 4.1GB is not a cause of concern?

    Can you please shed some light on it? Appreciate your reply.

  4. #4
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    Hello there.

    To see how much memory is being cached, look at the top -m command.
    The second line is what you're looking for.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...