Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1asCKK-00080n-UB for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Apr 2016 16:47:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1asCKK-0004Ar-Fr for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Apr 2016 16:47:08 +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 1asCKJ-0004Ae-VH for pgsql-bugs@postgresql.org; Mon, 18 Apr 2016 16:47:08 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1asCKF-000107-5h for pgsql-bugs@postgresql.org; Mon, 18 Apr 2016 16:47:05 +0000 MIME-Version: 1.0 Subject: BUG #14098: misleading message "out of shared memory" when lock table space exhausted To: pgsql-bugs@postgresql.org From: johnlumby@hotmail.com Date: Mon, 18 Apr 2016 16:46:48 +0000 Message-ID: <20160418164648.26012.40241@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.2 (-) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" 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 The following bug has been logged on the website: Bug reference: 14098 Logged by: John Lumby Email address: johnlumby@hotmail.com PostgreSQL version: 9.5.2 Operating system: linux 64-bit Description: 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). Shared mem space is not exhausted, lock table space is exhausted. Please change the message to psql: FATAL: lock table space is exhausted HINT: You might need to increase max_locks_per_transaction. I believe all cases of this msg are in src/backend/storage/lmgr/lock.c -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs