Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j9rqt-0000aV-3X for pgsql-admin@arkaria.postgresql.org; Thu, 05 Mar 2020 14:51:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j9rqq-0005kC-9L for pgsql-admin@arkaria.postgresql.org; Thu, 05 Mar 2020 14:51:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j9rqp-0005k5-QE for pgsql-admin@lists.postgresql.org; Thu, 05 Mar 2020 14:51:51 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j9rqm-0008Ad-MR for pgsql-admin@postgresql.org; Thu, 05 Mar 2020 14:51:49 +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 025EpjfZ001583; Thu, 5 Mar 2020 09:51:45 -0500 From: Tom Lane To: Scott Ribe cc: pgsql-admin Subject: Re: shm In-reply-to: <565DBAD4-E79D-4EE0-89C4-ABE33AD0C0A7@elevated-dev.com> References: <565DBAD4-E79D-4EE0-89C4-ABE33AD0C0A7@elevated-dev.com> Comments: In-reply-to Scott Ribe message dated "Thu, 05 Mar 2020 07:43:49 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1581.1583419905.1@sss.pgh.pa.us> Date: Thu, 05 Mar 2020 09:51:45 -0500 Message-ID: <1582.1583419905@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Scott Ribe writes: > What is POSIX shared memory used for anymore? We still allocate a small shm block as a means of counting live backends (since the SysV spec includes an "nattch" count but mmap'd segments do not provide that info). Should only be ~50 bytes though. regards, tom lane