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 1mbQhF-0004gz-Ky for pgsql-general@arkaria.postgresql.org; Fri, 15 Oct 2021 17:08:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mbQhE-0005df-GL for pgsql-general@arkaria.postgresql.org; Fri, 15 Oct 2021 17:08:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mbQhE-0005dW-6G for pgsql-general@lists.postgresql.org; Fri, 15 Oct 2021 17:08:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mbQh8-00087o-VR for pgsql-general@lists.postgresql.org; Fri, 15 Oct 2021 17:08:39 +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 19FH8EoW963373; Fri, 15 Oct 2021 13:08:14 -0400 From: Tom Lane To: Alvaro Herrera cc: Nick Renders , pgsql-general@lists.postgresql.org Subject: Re: PostgreSQL 14: pg_dump / pg_restore error: could not write to the communication channel: Broken pipe In-reply-to: <202110151313.dk4fatdj4qii@alvherre.pgsql> References: <202110151313.dk4fatdj4qii@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Fri, 15 Oct 2021 10:13:28 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <963371.1634317694.1@sss.pgh.pa.us> Date: Fri, 15 Oct 2021 13:08:14 -0400 Message-ID: <963372.1634317694@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > Yeah, pg_dump in parallel mode uses a pipe to communicate between leader > and workers; the error you see is what happens when a write to the pipe > fails. It sounds to me like something in the operating system is > preventing the pipes from working properly. BTW, I think a more likely explanation is "one of the pg_dump or pg_restore worker processes crashed". Why that should be is still a mystery though. regards, tom lane