Find the answer to your Linux question:
Results 1 to 5 of 5
hi Guys What is the average memory consumption? Attached is a screenshot of our memory consumtion of our dedicated server. It is quite busy and holds about 5 reasonably busy ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2012
    Posts
    2

    Memory Usage


    hi Guys

    What is the average memory consumption? Attached is a screenshot of our memory consumtion of our dedicated server. It is quite busy and holds about 5 reasonably busy forums.

    We recently did a memoery upgrade of an extra 4 gig and the memory usuage shot up again.

    Does a good chunk of the memory get allocated to stuff like mysql? etc etc.

    Is it pretty normal to see 70-80% memory used up like in my graph? We are not that affected by this just curious to why the usage is so high.

    cheers
    Attached Images Attached Images

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,664
    Use the free command to see what memory is being used by what. Most of your RAM is likely being used as cache, which is how Linux behaves. That speeds up disk I/O considerably most of the time. The OS will give it back for program memory when needed. Unfortunately, your graphical tool doesn't show how much of the used memory is allocated for cache. The free command will do that for you.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Jan 2012
    Posts
    2
    Quote Originally Posted by Rubberman View Post
    Use the free command to see what memory is being used by what. Most of your RAM is likely being used as cache, which is how Linux behaves. That speeds up disk I/O considerably most of the time. The OS will give it back for program memory when needed. Unfortunately, your graphical tool doesn't show how much of the used memory is allocated for cache. The free command will do that for you.
    Thanks for the response, Here is the result of this


    total used free shared buffers cached
    Mem: 8306860 7997660 309200 0 53400 3895948
    -/+ buffers/cache: 4048312 4258548
    Swap: 2040212 72716 1967496


    How does that look to you?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,664
    According to this, it has cached 3895948 Kilobytes (3.9GB) of file data. That is available for system/program memory as needed. So, almost 1/2 of your system memory is still available. IE, don't sweat it. You obviously do a lot of disc I/O, and that much I/O cache will speed up access to frequently used data (like web pages) since it is already in memory and your system will not need to do any physical disc I/O (seek, fetch, copy into RAM) to get to it.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #5
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,636
    It looks OK, not sure why you are getting swap usage though.

    Worry when your memory is not being used as it is doing you no good then.
    "I used to be with it, then they changed what it was.
    Now what was it isn't it, and what is it is weird and scary to me.
    It'll happen to you too."

    Grandpa Simpson



    The Fifth Continent

Posting Permissions

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