Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 815559F9944 for ; Mon, 15 Oct 2007 22:34:17 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 56221-07 for ; Mon, 15 Oct 2007 22:34:14 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by postgresql.org (Postfix) with ESMTP id E2FD39F991C for ; Mon, 15 Oct 2007 22:34:14 -0300 (ADT) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id BEDE93234E; Mon, 15 Oct 2007 21:34:12 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Mon, 15 Oct 2007 21:34:12 -0400 X-Sasl-enc: tlusOMAdgpkVvrpLBspFFyuNd4C7FIzvs6HXIT/brxa9 1192498451 Received: from [192.168.1.235] (64-142-85-108.dsl.dynamic.sonic.net [64.142.85.108]) by mail.messagingengine.com (Postfix) with ESMTP id B3CBE1C8B7; Mon, 15 Oct 2007 21:34:10 -0400 (EDT) Message-ID: <4714151F.4050307@fastmail.net> Date: Mon, 15 Oct 2007 18:34:23 -0700 From: Darren Reed User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Tom Lane CC: Scott Marlowe , "Joshua D. Drake" , pgsql-admin@postgresql.org Subject: Re: Is my database now too big? References: <1191730382.18880.1214536197@webmail.messagingengine.com> <47087723.7040403@commandprompt.com> <1191744007.14918.1214548241@webmail.messagingengine.com> <4708A9DC.5060306@fastmail.net> <47097EA7.902@fastmail.net> <4712D97E.7010004@fastmail.net> <4712E15B.8000405@fastmail.net> <17093.1192464190@sss.pgh.pa.us> <4713CA8C.5020303@fastmail.net> <23809.1192485371@sss.pgh.pa.us> In-Reply-To: <23809.1192485371@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/132 X-Sequence-Number: 27046 Tom Lane wrote: > Darren Reed writes: > > Tom Lane wrote: > >> Anyway, the above error should have also produced a map of per-context > >> memory usage in the postmaster log (ie, postmaster stderr). If you > >> could show us that, it might be revealing. > > > MessageContext: 267378688 total in 43 blocks; 1768 free (45 chunks); > > 267376920 used > > > The standout problem is the "MessageContext" count. > > Indeed. And there shouldn't even be anything in MessageContext until > the first client command has been received. Maybe you have something > in ~/.psqlrc that you haven't told us about? > That's easy - I don't even have one of these files! Darren