Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQgj4-00024t-Cq for pgsql-performance@arkaria.postgresql.org; Wed, 24 Aug 2022 03:06:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oQgj0-0006Y1-T1 for pgsql-performance@arkaria.postgresql.org; Wed, 24 Aug 2022 03:06:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQgj0-0006Xs-JX for pgsql-performance@lists.postgresql.org; Wed, 24 Aug 2022 03:06:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQgiy-0007Vq-KG for pgsql-performance@lists.postgresql.org; Wed, 24 Aug 2022 03:06:38 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 27O36X31882039; Tue, 23 Aug 2022 23:06:33 -0400 From: Tom Lane To: Thomas Munro cc: Andrew Dunstan , Kevin McKibbin , pgsql-performance@lists.postgresql.org Subject: Re: pgbench: could not connect to server: Resource temporarily unavailable In-reply-to: References: <3909995.1661052002@sss.pgh.pa.us> <35d221aa-3da4-f744-3965-ceca7f71f4ea@dunslane.net> <8864.1661116501@sss.pgh.pa.us> <83134bb1-3a21-059f-1cd6-4997de2652b8@dunslane.net> <33898.1661118503@sss.pgh.pa.us> <68893.1661122531@sss.pgh.pa.us> <84184.1661127637@sss.pgh.pa.us> <105986.1661134693@sss.pgh.pa.us> <114075.1661136913@sss.pgh.pa.us> <361175.1661187463@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Wed, 24 Aug 2022 14:55:31 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <882037.1661310393.1@sss.pgh.pa.us> Date: Tue, 23 Aug 2022 23:06:33 -0400 Message-ID: <882038.1661310393@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > Oh, one comment there is actually obsolete now AFAIK. Unless there is > some reason to think personality(ADDR_NO_RANDOMIZE) might not work in > some case where sysctl -w kernel.randomize_va_space=0 will, I think we > can just remove that. AFAICS, f3e78069db7 silently does nothing on platforms lacking ADDR_NO_RANDOMIZE and PROC_ASLR_FORCE_DISABLE. Are you asserting there are no such platforms? (I'm happy to lose the comment if it's really useless now, but I think we have little evidence of that.) regards, tom lane