From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 0DA752F59B for ; Wed, 22 Nov 2000 00:13:34 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eAM5DXK27674 for axp-list@listman.redhat.com; Wed, 22 Nov 2000 00:13:33 -0500 Received: from spawn.hockeyfiend.com (mail@adsl-61-8-131.mia.bellsouth.net [208.61.8.131]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eAM5DXD27670 for ; Wed, 22 Nov 2000 00:13:33 -0500 Received: from localhost ([127.0.0.1] ident=chris) by spawn.hockeyfiend.com with esmtp (Exim 3.16 #1 (Debian)) id 13ySDh-0006Hy-00; Wed, 22 Nov 2000 00:13:21 -0500 Date: Wed, 22 Nov 2000 00:12:39 -0500 (EST) From: "Christopher C. Chimelis" X-Sender: chris@spawn.hockeyfiend.com To: kwood@atipa.com Cc: AXP List Subject: Re: UP1000 and Memory Leak In-Reply-To: <3A1B4481.1F4A09BA@atipa.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors On Tue, 21 Nov 2000 kwood@atipa.com wrote: > I reloaded the machine myself just to make sure, but it still does it. > If you log into the machine and run free you will get an amount of used > and free ram. Compare this to the amount you get after running X and > then exiting and you get a different number. Now log out and in and you > get yet a different number. All lower than the one you started with. > Now is this a good example of a memory leak or am I thinking > incorrectly. Shouldn't you have the same amount of ram before and after > running a task and then exiting? Not really. In almost every case, some/most of the memory that was used by the applications will remain "used" as cache or shared mem (look at the right columns in free's output). It will be reclaimed and reallocated as needed, though, by the VM. To be honest, 128MB RAM is not a lot in a RISC machine, but it should be adequate for most tasks (I've been running with the same amount of RAM for years now). He may hit swap every so often, though, especially when trying to run Netscape plus a few other X apps simultaneously. > His concern is that when he runs xinit and then netscape, his machine > locks up hard. It seems to be a memory problem as he can't telnet in > and he can't move his mouse (which is usually hardware). > > If you have any idea about what I am saying and possibly a way of fixing > or explaining why this happens, could you let me know. I'd appreciate > any help I can get. Thanks What kernel is he running? It sounds like either the VM is falling over (not surprising), he's got a problem when exceeding physical RAM (problem with swap...or the VM again), or he's got some defective RAM (doubtful since there would be some other warning signs). If it's either of the first two, though, it is probably kernel related, hence the question... C