Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtxmx-00FFdg-BI for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Oct 2023 22:16:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qtxmv-008Zc2-B8 for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Oct 2023 22:16:14 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtxmv-008Zb2-2s for pgsql-bugs@lists.postgresql.org; Fri, 20 Oct 2023 22:16:13 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtxmp-001Upg-5H for pgsql-bugs@lists.postgresql.org; Fri, 20 Oct 2023 22:16:12 +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 39KMG4v03998078; Fri, 20 Oct 2023 18:16:04 -0400 From: Tom Lane To: maxime.boyer@cra-arc.gc.ca cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18165: Could not duplicate handle for "Global/PostgreSQL.xxxxxxxxxx": Bad file descriptor In-reply-to: <18165-bf4f525cea6e51de@postgresql.org> References: <18165-bf4f525cea6e51de@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Fri, 20 Oct 2023 20:18:08 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3998076.1697840164.1@sss.pgh.pa.us> Date: Fri, 20 Oct 2023 18:16:04 -0400 Message-ID: <3998077.1697840164@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > Could not duplicate handle for "Global/PostgreSQL.xxxxxxxxxx": Bad file > descriptor That must be coming from dsm_impl_pin_segment or dsm_impl_unpin_segment; noplace else has the same error message spelling. > Error started after a pg_upgrade from 11.17 to 14.9 on the same physical > servers. Both those messages predate v11, so it's hard to tell what changed. Are you sure the OS environment didn't change too? regards, tom lane