From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 7343 invoked from network); 9 Mar 1999 18:50:22 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 9 Mar 1999 18:50:22 -0000 Received: from naur.csee.wvu.edu (naur.csee.wvu.edu [157.182.194.28]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA21094 for ; Tue, 9 Mar 1999 13:43:55 -0500 Received: (from dfrasnel@localhost) by naur.csee.wvu.edu (8.9.0/8.9.0) id NAA04566 for axp-list@redhat.com; Tue, 9 Mar 1999 13:43:51 -0500 (EST) Date: Tue, 9 Mar 1999 13:43:50 -0500 From: "Daniel J. Frasnelli" To: axp-list@redhat.com Subject: Re: where does the memory go? Message-ID: <19990309134350.I20712@csee.wvu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: ; from Paul B. Brown on Tue, Mar 09, 1999 at 12:29:31PM -0500 Gentlemen, > A number of programs are designed to grab memory and hang onto it based on > events that occur. Some grab a pretty big chunk at the initialization > phase while others try to play nice and only grab chucks as requirements > dictate. True, but what Matt's system is experiencing is completely normal. See below. > Review your list of deamons and see where the memory is being used. "daemons" - the BSD people would have your head in a basket if they ever saw that spelling of the word :-) > > munch:mnelson> free > > total used free shared buffers cached > > Mem: 515112 506632 8480 34744 27728 454752 > > -/+ buffers/cache: 24152 490960 > > Swap: 523640 232 523408 And let's compare this to my system with 128M ram: [dfrasnel@relativity /tmp]$ free total used free shared buffers cached Mem: 127312 115416 11896 73936 13832 61216 -/+ buffers/cache: 40368 86944 Swap: 131064 632 130432 If you look at both of these 'free' outputs, you will notice that a good amount of memory is tied up in both cached and shared memory allocation. My system shows approx. 11M of physical memory free. However, if I were to launch Netscape 4.51 (memory footprint of what, 30M?) I could do so without dipping into swap space. This is one of many beautiful features of Linux - I'll leave it at that without ruining the moment by dissecting the mechanism :-) The only time you should be concerned about how much memory is available (per the output of free, top, etc.) is when your swap space is almost run out yet the machine is doing "nothing". At that point, you probably have a process out of control (memory leak likely) and not addressing the problem leads to a system crash or at best, serious drop in responsiveness. Best regards, Daniel --