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 1pSJEZ-0006t0-B4 for pgsql-performance@arkaria.postgresql.org; Wed, 15 Feb 2023 14:58:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pSJEX-0001TZ-LJ for pgsql-performance@arkaria.postgresql.org; Wed, 15 Feb 2023 14:58:09 +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 1pSJEX-0001TQ-BT for pgsql-performance@lists.postgresql.org; Wed, 15 Feb 2023 14:58:09 +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 1pSJEQ-0003II-UO for pgsql-performance@lists.postgresql.org; Wed, 15 Feb 2023 14:58:08 +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 31FEw1Fg2082562; Wed, 15 Feb 2023 09:58:01 -0500 From: Tom Lane To: aditya desai cc: Pgsql Performance Subject: Re: Connection forcibly closed remote server error. In-reply-to: References: Comments: In-reply-to aditya desai message dated "Wed, 15 Feb 2023 17:43:27 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2082553.1676473081.1@sss.pgh.pa.us> Date: Wed, 15 Feb 2023 09:58:01 -0500 Message-ID: <2082556.1676473081@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk aditya desai writes: > We are getting this error when transferring data using COPY command or > running workflow for huge data. We are using Password Authentication(LDAP) > "Connection forcibly closed remote server" Network timeout perhaps? If so, setting more-aggressive TCP keepalive parameters might help. regards, tom lane