From owner-freebsd-questions@FreeBSD.ORG Sun Jan 8 02:03:13 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4638E16A41F for ; Sun, 8 Jan 2006 02:03:13 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA4AA43D46 for ; Sun, 8 Jan 2006 02:03:12 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 2E3BD5DE5; Sat, 7 Jan 2006 21:03:12 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 63592-10; Sat, 7 Jan 2006 21:03:11 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-122-227.ny325.east.verizon.net [68.161.122.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 561D45CFC; Sat, 7 Jan 2006 21:03:11 -0500 (EST) Message-ID: <43C072E6.6020603@mac.com> Date: Sat, 07 Jan 2006 21:03:18 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ilya E Veretenkin References: <1388036653.20060108013522@mail.ru> In-Reply-To: <1388036653.20060108013522@mail.ru> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: freebsd 6 - amount of total visible memory is decreasing constantly X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2006 02:03:13 -0000 Ilya E Veretenkin wrote: > Problem: Total amount of visible memory is decreasing constantly [ ... ] > As you can see, memory which was visible using top utility decreased > from 3224 to 3195 Megabytes in less than 2 hours. And this process > will continue to the point, where swapping begins. > Server during this monitoring was running MySql4 + Apache1.3 under heavy > load. > > How to get rid of such memory loss? And what is the reason of such > memory loss? Pay attention to "sysctl kern.malloc" or "sysctl vm.zone" periodicly, and see whether some part of the kernel is leaking memory. -- -Chuck