From owner-freebsd-questions Thu Jun 29 7:39: 6 2000 Delivered-To: freebsd-questions@freebsd.org Received: from majordomo2.umd.edu (majordomo2.umd.edu [128.8.10.7]) by hub.freebsd.org (Postfix) with ESMTP id D17AC37B856 for ; Thu, 29 Jun 2000 07:39:01 -0700 (PDT) (envelope-from culverk@wam.umd.edu) Received: from rac10.wam.umd.edu (root@rac10.wam.umd.edu [128.8.10.150]) by majordomo2.umd.edu (8.9.3/8.9.3) with ESMTP id KAA00569; Thu, 29 Jun 2000 10:38:58 -0400 (EDT) Received: from rac10.wam.umd.edu (sendmail@localhost [127.0.0.1]) by rac10.wam.umd.edu (8.9.3/8.9.3) with SMTP id KAA17567; Thu, 29 Jun 2000 10:38:59 -0400 (EDT) Received: from localhost (culverk@localhost) by rac10.wam.umd.edu (8.9.3/8.9.3) with ESMTP id KAA17563; Thu, 29 Jun 2000 10:38:59 -0400 (EDT) X-Authentication-Warning: rac10.wam.umd.edu: culverk owned process doing -bs Date: Thu, 29 Jun 2000 10:38:58 -0400 (EDT) From: Kenneth Wayne Culver To: Sam Xie Cc: freebsd-questions@FreeBSD.ORG Subject: Re: memory leak? In-Reply-To: <20000629103107.A79025@samxie.cl.msu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, I know for sure that netscape leaks memory, but not that much, for most purposes though, the "inactive" memory is free for use by other programs, it's just being kept as inactive because some program stored in that memory that has exited might be run again, and it's faster to run from inactive memory than disk if it hasn't been used for anything else... I think my explanation is WAY simplified, but I think I got it basically right. ================================================================= | Kenneth Culver | FreeBSD: The best NT upgrade | | Unix Systems Administrator | ICQ #: 24767726 | | and student at The | AIM: muythaibxr | | The University of Maryland, | Website: (Under Construction) | | College Park. | http://www.wam.umd.edu/~culverk/| ================================================================= On Thu, 29 Jun 2000, Sam Xie wrote: > Hello! There, > I am using FreeBSD 5.0-CURRENT on my PC, has 128 MB Ram and 1024 MB Swap. > I reboot my machine at 6:00 pm before left my office, I checked the memory > it has 54 MB memory free. However after overnight, the free memory is only > around 7 MB left, the active memory is 54 MB and the inactive memory is > increased to 47 MB. It seems that some processes eat the memory. I have > following major application processes are running on my machine, > apache+mod_ssl-1.3.12+2.6.4, > mysql-server-3.22.32 Multithreaded SQL database (server), > netscape-communicator-4.73, > mutt-1.2, > vim-5.7a, > 6 rxvt windows opend > afterstep-1.8.0 > ...... > I don't know which process cause the memory leaking. It will be gratefull > if someone can tell me why and how to fix it! > Many Thanks! > Sam Xie > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message