All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kervin Pierre <kpierre@fit.edu>
To: Eugenio Mastroviti <eugeniom@gointernet.co.uk>
Cc: ivan <ivan@es.usyd.edu.au>, linux-kernel@vger.kernel.org
Subject: Re: Memory Leaking. Help!
Date: Mon, 15 Apr 2002 11:59:40 -0400	[thread overview]
Message-ID: <3CBAF8EC.6070403@fit.edu> (raw)
In-Reply-To: <Pine.LNX.4.33.0204151017480.20961-100000@dipole.es.usyd.edu.au> <3CBAC6B3.2040002@gointernet.co.uk>

Eugenio Mastroviti wrote:
> much data as it can in memory. The actual memory in use (check with 
> 'free') is total-(buffers+cache)= 2.2-(0.37+1.51)GB=about 320 MB, which 

This is interesting.  What exactly is buffers and cache used for?

I had the same issue with the original poster with a new server.  A 
fresh install with nothing significant running ( no bind nor sendmail, 
etc. ) reported that over 450 out of 512 MB was used, but looking at the 
process usage on top I barelly got 5% memory usuage by process.  If the 
above calculation ( memory use = total - buffers - cache ) is correct 
then the memory use drops to ~100 MB.

I guess what's confusing is that total memory usuage is including 
buffers and cache.  If that memory is available to applications, 
shouldn't it be removed from the "total used" figure?

--Kervin


-- 
http://linuxquestions.org/ - Ask linux questions, give linux help.
http://splint.org/ - Write safe C code. splint source-code analyzer.


  reply	other threads:[~2002-04-15 16:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-14 12:23 Memory Leaking. Help! ivan
2002-04-14 13:15 ` Itai Nahshon
2002-04-14 14:05 ` Alan Cox
2002-04-14 22:51   ` ivan
2002-04-15  0:10     ` Alan Cox
2002-04-15  0:28       ` ivan
2002-04-15  5:18         ` xystrus
2002-04-15  6:10           ` john slee
2002-04-15  9:09         ` Alan Cox
2002-04-15 10:00         ` David Schwartz
2002-04-15 12:25         ` Eugenio Mastroviti
2002-04-15 15:59           ` Kervin Pierre [this message]
2002-04-16  0:36             ` David Schwartz
2002-04-15 11:30     ` Roy Sigurd Karlsbakk
2002-04-15  0:03 ` Tomasz Rola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CBAF8EC.6070403@fit.edu \
    --to=kpierre@fit.edu \
    --cc=eugeniom@gointernet.co.uk \
    --cc=ivan@es.usyd.edu.au \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.