From owner-freebsd-stable@FreeBSD.ORG Wed Jul 26 09:26:39 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34AB516A4DD for ; Wed, 26 Jul 2006 09:26:39 +0000 (UTC) (envelope-from sdupille@nospam.fr.eu.org) Received: from mail.nospam.fr.eu.org (galadriel.nospam.fr.eu.org [88.191.16.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3D8F43D46 for ; Wed, 26 Jul 2006 09:26:38 +0000 (GMT) (envelope-from sdupille@nospam.fr.eu.org) Received: by mail.nospam.fr.eu.org (Postfix, from userid 2001) id 519D5440814; Wed, 26 Jul 2006 11:26:34 +0200 (CEST) From: Stephane Dupille To: stable@freebsd.org Organization: Home Mail-copies-to: never Date: Wed, 26 Jul 2006 11:26:34 +0200 Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Memory management X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jul 2006 09:26:39 -0000 Hello there, I have a computer running FreeBSD 6.1. As time passing by, the memory fills up. When the machine starts, memory is occupied to 30 %, and after two or three weeks memory is occupied to 100 % and it begins to use swap. It is "inactive" pages that fills up the memory. I tried to restart every process, but memory usage does not decrease. Only a reboot can fix that. And I'm not able to see which process leaks. I was not able to find a correct definition of what "inactive" memory is. First, I would like to know what are these kind of pages : wired, active, inactive, cache and free. Is that normal that inactive memory usage grows ? What should I do ? Do you have any tools to monitor memory usage of processes ? Many thanks, regards,