pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Gould <daveg@sonic.net>
To: John Lumby <johnlumby@hotmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql bugs <pgsql-bugs@postgresql.org>
Subject: Re: Re: BUG #14098: misleading message "out of shared memory" when lock table space exhausted
Date: Tue, 19 Apr 2016 12:48:55 -0700
Message-ID: <20160419124855.380eebf2@engels> (raw)
In-Reply-To: <COL131-W405057C2F06E60349A8B33A36C0@phx.gbl>
References: <20160418164648.26012.40241@wrigleys.postgresql.org>
	<320.1461001031@sss.pgh.pa.us>
	<COL131-W47A45853021C2B3DDBEC12A36B0@phx.gbl>
	<COL131-W47CA8FA5A2B204766E905AA36C0@phx.gbl>
	<15172.1461084167@sss.pgh.pa.us>
	<COL131-W405057C2F06E60349A8B33A36C0@phx.gbl>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Tue, 19 Apr 2016 13:36:35 -0400
John Lumby <johnlumby@hotmail.com> wrote:


> I now see that as you've explained,  the words      
>             out of shared memory
> are not wrong.   However,   I think it may be more helpful to change them to           
>            lock table space is exhausted
> as I previously suggested.
> The reason being that ,  for most people,  intuitively,  telling them
>     " out of shared memory "
> would indicate to try to *reduce* the consumption of this resource,
> whereas the hint tells them  to *increase* something.
> I think there is a clearer connection between insufficient lock table space 
> 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 mislead
a user who was trying to diagnose one of the less common cases.

-dg


-- 
David Gould                                   daveg@sonic.net
If simplicity worked, the world would be overrun with insects.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (7+ messages)  latest in thread

Message-ID: <20160419124855.380eebf2@engels>
Permalink:  ../20160419124855.380eebf2@engels/
Also on:    postgresql.org/message-id/20160419124855.380eebf2@engels

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: daveg@sonic.net, johnlumby@hotmail.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #14098: misleading message "out of shared memory" when lock table space exhausted
  In-Reply-To: <20160419124855.380eebf2@engels>
  References: <20160418164648.26012.40241@wrigleys.postgresql.org> <320.1461001031@sss.pgh.pa.us> <COL131-W47A45853021C2B3DDBEC12A36B0@phx.gbl> <COL131-W47CA8FA5A2B204766E905AA36C0@phx.gbl> <15172.1461084167@sss.pgh.pa.us> <COL131-W405057C2F06E60349A8B33A36C0@phx.gbl> <20160419124855.380eebf2@engels>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox