Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1asD8W-00033W-Fe for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Apr 2016 17:39:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1asD8V-0004TW-5v for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Apr 2016 17:38:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1asD6u-0003j4-Tw for pgsql-bugs@postgresql.org; Mon, 18 Apr 2016 17:37:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1asD6r-00023V-P5 for pgsql-bugs@postgresql.org; Mon, 18 Apr 2016 17:37:20 +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 u3IHbBBE000321; Mon, 18 Apr 2016 13:37:11 -0400 From: Tom Lane To: johnlumby@hotmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14098: misleading message "out of shared memory" when lock table space exhausted In-reply-to: <20160418164648.26012.40241@wrigleys.postgresql.org> References: <20160418164648.26012.40241@wrigleys.postgresql.org> Comments: In-reply-to johnlumby@hotmail.com message dated "Mon, 18 Apr 2016 16:46:48 -0000" Date: Mon, 18 Apr 2016 13:37:11 -0400 Message-ID: <320.1461001031@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) 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 johnlumby@hotmail.com writes: > If postgresql exhausts the space reserved for locks, whose size is defined > by > max_locks_per_transaction * (max_connections + max_prepared_transactions) > locks, > then it issues this message : > psql: FATAL: out of shared memory > HINT: You might need to increase max_locks_per_transaction. > The words "out of shared memory" are misleading (and ungrammatical, and > somewhat contradict the HINT). They are also correct, unlike your proposed revision. There isn't a hard separation of lock table space from the generally-available shared memory pool. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs