[96813] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Disappearing memory

daemon@ATHENA.MIT.EDU (Ramon Gandia)
Thu Oct 29 13:09:54 1998

Date: Thu, 29 Oct 1998 08:33:27 -0900
From: Ramon Gandia <rfg@nook.net>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


Tim Medlock wrote:
> 
> I have a 450MHz 256MB RedHat Intel system.
> 
> Does anyone know why memmory is not freed up when processes terminate?  I don't have anything really running and I only have 8MB free memory.
> 
> When I do a top, I get the following:
> 
>  10:21am  up 1 day, 20:44,  1 users,  load average: 0.21, 0.11, 0.38
> 35 processes: 33 sleeping, 2 running, 0 zombie, 0 stopped
> CPU states:  0.0% user,  0.5% system,  0.0% nice, 99.5% idle
> Mem:  257048K av, 249540K used,   7508K free,  24148K shrd, 172216K buff
> Swap: 256968K av,      0K used, 256968K free     44160K cached

Nothing wrong.  Its basically the way top works.  When a process
terminates, the memory is not reported as freed until a new
process needs it.  In other words, the memory used as reported
by top is a "high water mark" in the memory, with some exceptions.

What you need to do is to monitor the use of the swap.  If you
*ever* see it seriously used, then you have indeed used all your
memory.  Your computer looks to me like its running just fine &
hummin' along.  :-)

-- 
Ramon Gandia ==== Sysadmin ==== Nook Net ==== http://www.nook.net
285 West First Avenue                                rfg@nook.net
P.O. Box 970                                    tel. 907-443-7575
Nome, Alaska 99762-0970 ======================= fax. 907-443-2487


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post