Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr80u-0001au-LP for pgsql-performance@arkaria.postgresql.org; Thu, 12 Dec 2013 15:17:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vr80u-0000Cb-4n for pgsql-performance@arkaria.postgresql.org; Thu, 12 Dec 2013 15:17:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr80t-0000CV-DH for pgsql-performance@postgresql.org; Thu, 12 Dec 2013 15:17:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr80n-0005JE-63 for pgsql-performance@postgresql.org; Thu, 12 Dec 2013 15:17:19 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id rBCFH81K003932; Thu, 12 Dec 2013 10:17:08 -0500 From: Tom Lane To: Merlin Moncure cc: Mack Talcott , postgres performance list Subject: Re: Debugging shared memory issues on CentOS In-reply-to: References: <3716.1386737676@sss.pgh.pa.us> <22204.1386819597@sss.pgh.pa.us> Comments: In-reply-to Merlin Moncure message dated "Thu, 12 Dec 2013 08:56:59 -0600" Date: Thu, 12 Dec 2013 10:17:08 -0500 Message-ID: <3931.1386861428@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Merlin Moncure writes: > It's tempting to say, "there should be a limit to backend local cache" > but it's not clear if the extra tracking is really worth it all things > considered. There was some discussion about this (see the archives). Yeah --- there actually was a limit on total catcache size once, long ago. We took it out because it was (a) expensive to enforce and (b) either pointless or counterproductive on most workloads. The catcache is probably the least of the memory hogs anyway, so it might be that limiting the size of relcache or function caches would be more useful. But that memory is likely to discourage most hackers from investigating. regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance