Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chJV8-0001eT-8y for pgsql-admin@arkaria.postgresql.org; Fri, 24 Feb 2017 17:17:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1chJV7-0000I3-SA for pgsql-admin@arkaria.postgresql.org; Fri, 24 Feb 2017 17:17:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1chJTP-0005gp-1U for pgsql-admin@postgresql.org; Fri, 24 Feb 2017 17:16:03 +0000 Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1chJTH-0005In-56 for pgsql-admin@postgresql.org; Fri, 24 Feb 2017 17:16:01 +0000 Received: by mail-qt0-x243.google.com with SMTP id x35so3319369qtc.1 for ; Fri, 24 Feb 2017 09:15:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:thread-index :content-language; bh=XU0fWn1bpIkFWCoGXITRUayC8A8zSD+52fti55PB87M=; b=p/D+hvk/JfdrNqcuorF3Z+b6ad5jZtM2I7Z29teKr/27KtVKCbx6sDaYZLQ8Rtca4P ZvxVDfH+9BloQwSW7pKwPqlIDuYZnqMxtCLMIn2N/ShIiKOBg3dpWvcAnvXOJtJYMKFb iMq1BgLgGw85eqmNhA8gNqp7qq5ulXWGi4Vr8ocRKpO1YPWLi+YmwlAe5PYw0u1k0CAn 7rmhQHl3d11BfaAmqUyKwPPlkUP2YIIaCiwhJLfTfWiuiInVR7sPjX1ictFzIhiGPy/o TLm/EGc5v9KcEXywR9sBT3HtCnnPCdr+eFhFwjecpH2lG+oBtouKQOkCRNufsMmHnnIO Qo6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=XU0fWn1bpIkFWCoGXITRUayC8A8zSD+52fti55PB87M=; b=cxjbRhsklr9yGlG1EDHdsXF0Ao1+t3y181rwzH6uduZjBUz6fFvJ2TM3v6TGSru1+B 4d2T9vg6lQtoVi2PEJorA/qNt5t3HIqwhUEJIdy5z8oHcQGBTPSryVq4+5MW2nqEbtS9 fpXUsgW9aH1Kd9VzwIDvRhI71IAq4KQQ6yFsSDqsUjLSl/AP039/sNbwXDo4nKOuDv0I LE+Me3kNzqhep4h4M3GejnPEl1XXwI1BWZRdRD3F+/Or81tHpEs2Ty6L07Zuh2gA4G9S mcaP+PJFkqZYXO9oMZZnUgX11wjV2GNY/v2XAZe/GnDOpT+BxnL9gji9HzlxyToR7fLX OSmg== X-Gm-Message-State: AMke39l/+MFM6ig6oN+8QAlNKRIr7G0Ol1ks7zBd5sO2MKjtPxEIRdDPxPZAoTfbmz4DIg== X-Received: by 10.200.45.247 with SMTP id q52mr4015408qta.197.1487956553713; Fri, 24 Feb 2017 09:15:53 -0800 (PST) Received: from irylachi ([200.55.161.75]) by smtp.gmail.com with ESMTPSA id c141sm5175245qkb.10.2017.02.24.09.15.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Feb 2017 09:15:53 -0800 (PST) From: "Lazaro Garcia" To: "'Tatsuo Ishii'" Cc: , References: <001a01d28e18$fbf76720$f3e63560$@gmail.com> <20170224.071422.3019405485733787.t-ishii@sraoss.co.jp> In-Reply-To: <20170224.071422.3019405485733787.t-ishii@sraoss.co.jp> Subject: Re: [pgpool-general: 5345] Failover but master is running Date: Fri, 24 Feb 2017 12:15:48 -0500 Message-ID: <000901d28ec1$a6af8a00$f40e9e00$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQLDx7ZPqXSSgkKAuhJD+dBrCuhv9AL7yVafn34ThxA= Content-Language: es-mx X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Could be possible to use retries upon Streaming Replication Check for preventing failover when connections to master fails? Regards. -----Mensaje original----- De: Tatsuo Ishii [mailto:ishii@sraoss.co.jp] Enviado el: jueves, 23 de febrero de 2017 05:14 p. m. Para: lazaro3487@gmail.com CC: pgpool-general@pgpool.net; pgsql-admin@postgresql.org Asunto: Re: [pgpool-general: 5345] Failover but master is running Yes, it seems process 5479 hit the max_connections of PostgreSQL while connecting to it. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp > Hello everyone in the list, testing pgpool a failover is triggered but > the master is running. The pgpool version is 3.5.5. This is the log > reported by pgpool. > > > > Could anybody help me to clarify this error? > > > > The reason could be postgresql server has reached max_connections? > > > > Regards. > > 2017-02-23 14:18:58: pid 5303: ERROR: unable to read data > > 2017-02-23 14:18:58: pid 5303: DETAIL: child connection forced to > terminate due to client_idle_limit:300 is reached > > 2017-02-23 14:25:31: pid 5479: LOG: pool_read_kind: error message > from 1 th backend:sorry, too many clients already > > 2017-02-23 14:25:31: pid 5479: ERROR: unable to read message kind > > 2017-02-23 14:25:31: pid 5479: DETAIL: kind does not match between > master(52) slot[1] (45) > > 2017-02-23 14:25:36: pid 5287: ERROR: failed to authenticate > > 2017-02-23 14:25:36: pid 5287: DETAIL: invalid authentication message > response type, Expecting 'R' and received 'E' > > 2017-02-23 14:25:41: pid 55651: ERROR: failed to authenticate > > 2017-02-23 14:25:41: pid 55651: DETAIL: invalid authentication > message response type, Expecting 'R' and received 'E' > > 2017-02-23 14:25:41: pid 55651: ERROR: failed to authenticate > > 2017-02-23 14:25:41: pid 55651: DETAIL: invalid authentication > message response type, Expecting 'R' and received 'E' > > 2017-02-23 14:25:41: pid 55651: LOG: setting backend node 1 status to > NODE DOWN > > 2017-02-23 14:25:41: pid 55651: LOG: received degenerate backend > request for node_id: 1 from pid [55651] > > 2017-02-23 14:25:41: pid 55651: LOG: starting degeneration. shutdown > host > 192.168.5.19(5432) > -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin