Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jCBjD-0006eg-6C for pgsql-general@arkaria.postgresql.org; Thu, 12 Mar 2020 00:29:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jCBjB-000725-6R for pgsql-general@arkaria.postgresql.org; Thu, 12 Mar 2020 00:29:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jCBjA-00071y-TF for pgsql-general@lists.postgresql.org; Thu, 12 Mar 2020 00:29:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jCBj7-0000Yj-IS for pgsql-general@postgresql.org; Thu, 12 Mar 2020 00:29:32 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 02C0TRnT010014; Wed, 11 Mar 2020 20:29:27 -0400 From: Tom Lane To: Virendra Kumar cc: Pgsql-general General Subject: Re: Back Port Request for INVALID Startup Packet In-reply-to: <1580001356.490624.1583970710532@mail.yahoo.com> References: <1580001356.490624.1583970710532.ref@mail.yahoo.com> <1580001356.490624.1583970710532@mail.yahoo.com> Comments: In-reply-to Virendra Kumar message dated "Wed, 11 Mar 2020 23:51:50 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10012.1583972967.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 11 Mar 2020 20:29:27 -0400 Message-ID: <10013.1583972967@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Virendra Kumar writes: > Can you please back port patch where if a 0 byte packet sent to PG insta= nce (Health Checks), it starts complaining about invalid startup packet an= d flood the log which increases log size considerably if the health checks= are every 3 seconds or something like that. > Patch Requested - https://git.postgresql.org/gitweb/?p=3Dpostgresql.git;= a=3Dpatch;h=3D342cb650e We generally don't like to change behavior of back branches without ironclad agreement that the existing behavior is a bug ... which this surely isn't. Also, the discussion leading up to that patch specifically considered and rejected back-patching; so I'm disinclined to overrule that decision now. I would suggest that an every-three-second health check is not appropriate, especially one that is so minimal that it only detects whether the postmaster is alive. regards, tom lane