Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fYCZR-0006OY-SK for pgsql-admin@arkaria.postgresql.org; Wed, 27 Jun 2018 15:41:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fYCZQ-00035p-9f for pgsql-admin@arkaria.postgresql.org; Wed, 27 Jun 2018 15:41:24 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fYCZP-00035i-G3 for pgsql-admin@lists.postgresql.org; Wed, 27 Jun 2018 15:41:24 +0000 Received: from resqmta-ch2-09v.sys.comcast.net ([2001:558:fe21:29:69:252:207:41]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fYCZM-0006HJ-GG for pgsql-admin@lists.postgresql.org; Wed, 27 Jun 2018 15:41:23 +0000 Received: from resomta-ch2-05v.sys.comcast.net ([69.252.207.101]) by resqmta-ch2-09v.sys.comcast.net with ESMTP id YADjfymb57vi3YCZHf7BCB; Wed, 27 Jun 2018 15:41:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1530114075; bh=STc0Q1LjKizWeRTEQqPY0ANaSVOhxvnls3J664JdGlQ=; h=Received:Received:Received:From:To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=TU80fmvgKAbibpmGMjn/oGTdqwIlPMpUM+ixu4RMKELaWsC9aOd815WGRfbdM56Mw uUKzkFPbTIydX8IEdu+nQn0rA6kv0eynvW9tF1vbonhGkTfyEdt/wXW8uNLuM4rm2o EA7I1/zFiRl8AgVagc7BIuYcTw2Dq4V66IKmdvyqXraxJhsAP2qQx1aJJywtbJzy1A Ks3g8XtXHKylJ7o5VazLgJscJWK46R63aLSK2zzn+xLn8NYEjCjDFqJ6pEeyI0UNqs h/TJW4UjLwCYl5E5032bnl4L1S0+Ukt4KlEpLWD3TOb9R2l6KnJco9Soqnl2e/fHhD 0gII5LXcxaX+Q== Received: from jsievers.comcast.net ([12.187.116.132]) by resomta-ch2-05v.sys.comcast.net with ESMTPA id YCZ4f9ZdGAkphYCZ5feeaY; Wed, 27 Jun 2018 15:41:13 +0000 Received: from jsievers.enova.com (localhost [127.0.0.1]) by jsievers.comcast.net (Postfix) with ESMTP id 9D0A4260056; Wed, 27 Jun 2018 10:41:02 -0500 (CDT) From: Jerry Sievers To: Mariel Cherkassky Cc: Rui DeSousa , Ron , pgsql-admin@lists.postgresql.org Subject: Re: Investigate postgres 9.6.3 repmgr lag 4.0.4 References: <70C74E85-F24B-4930-8942-5662540E0B74@crazybean.net> Date: Wed, 27 Jun 2018 10:41:02 -0500 In-Reply-To: (Mariel Cherkassky's message of "Wed, 27 Jun 2018 13:02:51 +0300") Message-ID: <87po0cjkz5.fsf@jsievers.enova.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-CMAE-Envelope: MS4wfMDmD8gRe6k7XEseO7aZIt2rxFIaMEJf6SyeIM+RqwEQS5bQa6MaSroh/OelzVDF+UYbwhvDwWoh4N5PbCMG5chkR60/7FC+I/kRqyp0/zI2XLRrE3aa fiJZ4a5XUpcti80ZGtwb8zodgSpobli3uE+DUc+zRhqHmUL0D7PFNnG4Oxjyq/W9dJwq7kDHOPkCwJE+oPdWyaSXdqrgYFp8LpwCteR0lldNXWAWdZuwK54S Nm0tEO0iumDpw3wUamIzuIaqr2qc36UiPCDrUqqjYWnLU36/S0+69uvM1EoZNjYOBWBgYAieA88rcKs1gc2UKw== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Mariel Cherkassky writes: > Hi all, > it happened again. The weird thing is that when I query > pg_stat_replication I see only one slave(the one that is still > synced) and I dont see the second one. Moreover,=C2=A0 I dont see anything > in the repmgr log of the primary and in the slave regarding the > disconnection... Disclaimer: I am not a repmgr admin... I suggest you check the DB server logs on both standby node and master for evidence of connection attempts for streaming, their success/failure and reasons and/or what might cause an established connection to drop. That you don't see the rogue standby in pg_stat_replication on the master is clear evidence that it's not connected presently but this doesn't tell the whole story. --=20 Jerry Sievers Postgres DBA/Development Consulting e: postgres.consulting@comcast.net p: 312.241.7800