Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 71C501337999 for ; Mon, 25 Oct 2010 14:32:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 63750-04 for ; Mon, 25 Oct 2010 17:32:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id D2BBD1336473 for ; Mon, 25 Oct 2010 14:32:10 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Mon, 25 Oct 2010 12:32:10 -0500 Message-Id: <4CC578BF0200002500036DC0@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Mon, 25 Oct 2010 12:31:59 -0500 From: "Kevin Grittner" To: "Nick" Cc: Subject: Re: autovacuum launcher process eating up 17G+ of ram? References: <4CC071670200002500036C8A@gw.wicourts.gov> <4CC18EF60200002500036CF3@gw.wicourts.gov> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.21 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/180 X-Sequence-Number: 35921 Nick wrote: > Kevin Grittner wrote: > >> I've not seen anything remotely like that. I wonder what's >> different.... > > I did a test with the same postgres build (and autovacuum_naptime > = 1 as well) on the same OS with only the system databases > (postgres, template0, template1), and after the weekend the memory > utilization was acceptable: That's probably it. Our shop normally has just one application database in a cluster, and I can't think of any clusters with more than three or four. It sounds like there might be some sort of memory leak when a vacuum worker switches databases. -Kevin