From owner-freebsd-questions@FreeBSD.ORG Wed Mar 21 20:38:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8ED616A4CA for ; Wed, 21 Mar 2007 20:38:03 +0000 (UTC) (envelope-from raggen@passagen.se) Received: from av9-1-sn3.vrr.skanova.net (av9-1-sn3.vrr.skanova.net [81.228.9.185]) by mx1.freebsd.org (Postfix) with ESMTP id 9D17013C46A for ; Wed, 21 Mar 2007 20:38:03 +0000 (UTC) (envelope-from raggen@passagen.se) Received: by av9-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 701D3383E9; Wed, 21 Mar 2007 21:38:02 +0100 (CET) Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av9-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 432D93829A; Wed, 21 Mar 2007 21:38:02 +0100 (CET) Received: from [192.168.1.6] (81-231-90-251-no41.tbcn.telia.com [81.231.90.251]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id EF0DA37E44; Wed, 21 Mar 2007 21:38:01 +0100 (CET) Message-ID: <460197A5.6050700@passagen.se> Date: Wed, 21 Mar 2007 21:37:57 +0100 From: Roger Olofsson User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Don O'Neil References: <000101c76bf5$e8b39030$0700020a@mickey> In-Reply-To: <000101c76bf5$e8b39030$0700020a@mickey> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 'FreeBSD Questions' Subject: Re: Tracking down memory leaks 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: Wed, 21 Mar 2007 20:38:03 -0000 Hello Don, I got the following tips when I asked the same question a while back: "Consider something like the valgrind port or dlmalloc. ---Chuck " I ran them and gdb and I'm still hunting that memory leak. In my case I first suspected threads (software) to be the cause however as the chase has gone further it's narrowing down to the playing of ogg files. I might be biased though. In my opinion memory leaks are always caused by software. Good luck! Don O'Neil skrev: > My setup seems to have a memory leak of some kind and I'm not sure how to > track it down.... > > When I first start up the system and all the processes start the machine has >> 1GB in free memory... After running for 20-30 minutes the free memory drops > to somewhere around 20MB... The longer it runs, the more it chews up free > memory until it eventually kernel panics and then reboots and the process > starts all over again. > > I originally thought the reboot was from bad RAM, so I swapped it out, but > that didn't help. I ran a memory check and everything checks out ok. > > Any ideas where to look (Hardware? Bad CPU? Software?). Temperature is ok, > lots of fans in the box and round cables so there is good air flow. I'm > stumpted. > > Thanks! > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >