From owner-freebsd-amd64@FreeBSD.ORG Tue Jun 13 21:37:58 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB4A316A41A for ; Tue, 13 Jun 2006 21:37:58 +0000 (UTC) (envelope-from freebsd@rtl.fmailbox.com) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96FF843D53 for ; Tue, 13 Jun 2006 21:37:57 +0000 (GMT) (envelope-from freebsd@rtl.fmailbox.com) Received: from frontend3.internal (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id CC333D6B686 for ; Tue, 13 Jun 2006 17:37:55 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by frontend3.internal (MEProxy); Tue, 13 Jun 2006 17:37:59 -0400 X-Sasl-enc: KAYJQIRUuzHAYiXttIeJGyaWt9XU4YmTs2UTLPrPLJsd 1150234677 Received: from [192.168.1.43] (CWPP-p-144-134-229-38.prem.tmns.net.au [144.134.229.38]) by mail.messagingengine.com (Postfix) with ESMTP id 07EB56D9B for ; Tue, 13 Jun 2006 17:37:56 -0400 (EDT) Message-ID: <448F304A.1060204@rtl.fmailbox.com> Date: Wed, 14 Jun 2006 07:38:18 +1000 From: Robert Leftwich User-Agent: Mozilla Thunderbird 1.0.8 (X11/20060502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-amd64@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Runaway memory usage on 6.1/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2006 21:37:58 -0000 I just upgraded a 6.1b4 box that has been very stable and reliable to the 6.1 release and now have a problem where some of the apps rapidly use a lot more memory (>2GB, but on 6.1b4 they never used more than 4-500MB) and lock up on exiting. This is a recurrence of a problem with 6.0 I had back in February that went away when I moved to 6.1 beta. Originally I thought it was due to Postgres not being compiled with libpq threadsafe (I'm using psycopg2 which specifically states that libpq will leak memory if it is not compiled threadsafe), but that is not the case. I've tried a vanilla 6.1 install (straight off the CD, no cvsup) which installs Postgres 8.1.3 and Python 2.4.2, as well as cvsup to the latest 6.1 release and updating everything to the latest ports (PG8.1.4 and Python 2.4.3) without success. I've also tried a number of different releases of pyscopg2 w/o any change. In desperation I even tried going back to 6.1b4 but that does not appear to be available on any FreeBSD ftp sites. Can anyone offer any suggestions on how to nail down what the problem is, i.e. what, if anything, is different in FreeBSD bwn 6.1b4 and 6.1 release that is likely to cause this problem? Or, failing that a pointer to a 6.1b4 site to use. Thanks Robert