Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id E5DAC1337B4C for ; Mon, 8 Nov 2010 18:09:46 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 69308-09 for ; Mon, 8 Nov 2010 22:09:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 2269F1337B43 for ; Mon, 8 Nov 2010 18:09:38 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 2E80E348023; Mon, 8 Nov 2010 14:09:38 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FXGEARi2V5fD; Mon, 8 Nov 2010 14:09:35 -0800 (PST) Received: from perhan.alvh.no-ip.org (unknown [190.95.28.71]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 52EC0348022; Mon, 8 Nov 2010 14:09:35 -0800 (PST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id CBEE86E9BC; Mon, 8 Nov 2010 19:09:31 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Nick , Kevin Grittner , pgsql-admin Subject: Re: autovacuum launcher process eating up 17G+ of ram? From: Alvaro Herrera To: Tom Lane In-reply-to: <24906.1289229302@sss.pgh.pa.us> References: <4CC071670200002500036C8A@gw.wicourts.gov> <4CC18EF60200002500036CF3@gw.wicourts.gov> <4232.1288036630@sss.pgh.pa.us> <1289227352-sup-6579@alvh.no-ip.org> <24906.1289229302@sss.pgh.pa.us> Date: Mon, 08 Nov 2010 19:09:31 -0300 Message-Id: <1289253773-sup-7048@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201011/64 X-Sequence-Number: 36030 Excerpts from Tom Lane's message of lun nov 08 12:15:02 -0300 2010: > Alvaro Herrera writes: > > Patch for this is attached (applies cleanly to 9.0 and HEAD; 8.4 doesn't > > need to be patched, but I'll run the test case now just to be sure.) > > Possibly s/cxt/resultcxt/, or some other less-generic name. Seems > pretty sane other than that cosmetic issue. Thanks, committed that way and pushed. I verified that 8.4 doesn't have this problem. Oops, I just noticed that I forgot to credit everyone for the report and diagnosis in the commit message. Too late to fix :-( So: thanks Nick for the report and Tom for the diagnosis. -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support