Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1asbeY-0004jh-AB for pgsql-bugs@arkaria.postgresql.org; Tue, 19 Apr 2016 19:49:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1asbeX-0000Hw-Rq for pgsql-bugs@arkaria.postgresql.org; Tue, 19 Apr 2016 19:49:41 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1asbdu-00081U-OI for pgsql-bugs@postgresql.org; Tue, 19 Apr 2016 19:49:02 +0000 Received: from d.mail.sonic.net ([64.142.111.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1asbdr-0000H3-I0 for pgsql-bugs@postgresql.org; Tue, 19 Apr 2016 19:49:01 +0000 Received: from engels (162-236-13-58.lightspeed.sntcca.sbcglobal.net [162.236.13.58]) (authenticated bits=0) by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id u3JJmtx4000735 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA256 bits=128 verify=NOT); Tue, 19 Apr 2016 12:48:56 -0700 Date: Tue, 19 Apr 2016 12:48:55 -0700 From: David Gould To: John Lumby Cc: Tom Lane , pgsql bugs Subject: Re: Re: BUG #14098: misleading message "out of shared memory" when lock table space exhausted Message-ID: <20160419124855.380eebf2@engels> In-Reply-To: References: <20160418164648.26012.40241@wrigleys.postgresql.org> <320.1461001031@sss.pgh.pa.us> <15172.1461084167@sss.pgh.pa.us> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Sonic-CAuth: UmFuZG9tSVbe1aw58AlQEqvjL66JJQUs77xkSlRLeXw5ClAG1UnkeZui5nvcn864hhxzXcl1dUw/UfwFdyDmXpsdOdziGltK X-Sonic-ID: C;qhgnwGcG5hG2dLeqjlfmnQ== M;nLlXwGcG5hG2dLeqjlfmnQ== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-Pg-Spam-Score: -3.6 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Tue, 19 Apr 2016 13:36:35 -0400 John Lumby wrote: > I now see that as you've explained,=C2=A0 the words =C2=A0=C2=A0=C2=A0=C2= =A0=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 out of= shared memory > are not wrong.=C2=A0=C2=A0 However,=C2=A0=C2=A0 I think it may be more he= lpful to change them to=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 lock table s= pace is exhausted > as I previously suggested. > The reason being that ,=C2=A0 for most people,=C2=A0 intuitively,=C2=A0 t= elling them > =C2=A0=C2=A0=C2=A0 " out of shared memory " > would indicate to try to *reduce* the consumption of this resource, > whereas the hint tells them=C2=A0 to *increase* something. > I think there is a clearer connection between insufficient lock table spa= ce=20 > and increasing max_locks_per_transaction. There are reasons besides locks that can lead to consuming all the allocated shared memory. A message that specifically blamed locks would actively misl= ead a user who was trying to diagnose one of the less common cases. -dg --=20 David Gould daveg@sonic.net If simplicity worked, the world would be overrun with insects. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs