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 1nPoai-0006cJ-UP for pgsql-performance@arkaria.postgresql.org; Thu, 03 Mar 2022 16:46:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nPoah-0001r9-PJ for pgsql-performance@arkaria.postgresql.org; Thu, 03 Mar 2022 16:46:11 +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 1nPoah-0001qs-7s for pgsql-performance@lists.postgresql.org; Thu, 03 Mar 2022 16:46:11 +0000 Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nPoae-0007Wu-DS for pgsql-performance@postgresql.org; Thu, 03 Mar 2022 16:46:10 +0000 Received: by mail-io1-xd29.google.com with SMTP id r7so6494523iot.3 for ; Thu, 03 Mar 2022 08:46:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=pqudJstOyiBpSI5g/Yokdb05Umr03gGCeqrjMP7gku0=; b=geZ2R2uArKPeqv5SyecUS4Io7sZHGYCOTbXtLF1Tc5aBNhWeOqfBJCFdYwvPHKhrlk 3dhmyOBDUhBFPGCqyyJvknXVIeDSfIl6mWbX4eXLOE0c9CD2JJw9IGlF+OP/Psbu2dSb F6uYLcTnigCVepZ5Kv9tSfm3Dp0Ou8YI4thicEdcOGPxTNSUKyk5DZmqaZekGf7i7xKl WACfyXvkBLd0BvdspQ/PtzHD5HQw26GWIutCLeE1EbSuVv94Sp1ndgCPnrBTlvyXxm27 bSHKf+Q6Qbm8tPrMzsgV5R63s6gp47usp8vZ6cyjCRavBjtMJU7/nsffqWgHwSbCau+S NTdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=pqudJstOyiBpSI5g/Yokdb05Umr03gGCeqrjMP7gku0=; b=Q8o2rh4udFLBDrxc/TO3XXx2fCJmAiSSwnLitwgKp8hcCCCweNjLWJCHLQlb0cfvh4 +kYY+7cZcxnsFX/GB1RmBgtmgZCt+p3mpQ+6Xofub+Q5PJ+17S+EvlSILsrBl01Ayiu1 5AYpbcN9z4xCZcoy50cRzx7SO5FS6Bo7t+er1zhXE32rqba49186VdYy1ZTi7oTNIawz EomF7ZGE6UURmG/1VCM8sxXYPV4+jeKumlbWjD4W1hqY1UBDiSSxUnCFRI4n8ddMmEJq kknwnxoicWzyMrE+KLK41deviXgJ4hPOJKeBFbxHRGbyVqTwOAmjlcmK+jY+TEzOR0Yk EYiQ== X-Gm-Message-State: AOAM532n74C44HcIO2U5UkqkBLJuOtmA6PWqG2RhGd6DTlc5sd+3U9iO mnkWW6ScnOBF2i2lwZh0J8GVN7XmupUJcw== X-Google-Smtp-Source: ABdhPJxfhJBp8fX0XOCRqbCa6850SNKIDhbwFusnCncMeNOXS7arQXkZFfCzPV4MufWttt7Vz3mi4A== X-Received: by 2002:a6b:3b86:0:b0:610:4244:1d19 with SMTP id i128-20020a6b3b86000000b0061042441d19mr27995211ioa.199.1646325966451; Thu, 03 Mar 2022 08:46:06 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id a18-20020a6b6c12000000b005ece5a4f2dfsm2245034ioh.54.2022.03.03.08.46.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Mar 2022 08:46:06 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id D8D828007F5; Thu, 3 Mar 2022 10:46:04 -0600 (CST) Date: Thu, 3 Mar 2022 10:46:04 -0600 From: Justin Pryzby To: Ranier Vilela Cc: ldh@laurent-hasson.com, pgsql-performance@postgresql.org Subject: Re: An I/O error occurred while sending to the backend (PG 13.4) Message-ID: <20220303164604.GH27651@telsasoft.com> References: <20220224020005.GT9008@telsasoft.com> <20220225130213.GB9008@telsasoft.com> <20220228220503.GF25269@telsasoft.com> <20220301192641.GA15744@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Mar 03, 2022 at 01:33:08PM -0300, Ranier Vilela wrote: > Sorry, but this is much more on the client side. The client is reporting the problem, as is the server. > Following the logs, it is understood that the client is dropping the > connection. The logs show that the client's connection *was* dropped. And on the server, the same. > So most likely the error could be from Pentaho or JDBC. > > https://www.geeksforgeeks.org/java-net-socketexception-in-java-with-examples/ > " This *SocketException* occurs on the server-side when the client closed > the socket connection before the response could be returned over the > socket." > > I suggest moving this thread to the Pentaho or JDBC support. We don't know the source of the problem. I still doubt it's in postgres, but I don't think it's helpful to blame the client, just because the client reported the problem. If the server were to disconnect abruptly, I'd expect the client to report that, too. Laurent would just have to start the conversation over (and probably collect the same diagnostic information anyway). The client projects could blame postgres with as much rationale as there is for us to blame the client. Please don't add confusion here. I made suggestions for how to collect more information to better understand the source of the problem, and there's probably not much else to say without that. -- Justin