Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chGcQ-000145-14 for pgsql-admin@arkaria.postgresql.org; Fri, 24 Feb 2017 14:13:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1chGcP-0004lx-Fa for pgsql-admin@arkaria.postgresql.org; Fri, 24 Feb 2017 14:13:09 +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 1chGcO-0004lg-Mq for pgsql-admin@postgresql.org; Fri, 24 Feb 2017 14:13:08 +0000 Received: from mail-qk0-x241.google.com ([2607:f8b0:400d:c09::241]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1chGcL-00023c-5q for pgsql-admin@postgresql.org; Fri, 24 Feb 2017 14:13:07 +0000 Received: by mail-qk0-x241.google.com with SMTP id x71so2965415qkb.0 for ; Fri, 24 Feb 2017 06:13:04 -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=5X15wNkEY9wL0zsAm3k7ImoOEfSl/fIDMtb/PcDLI64=; b=Bg0fTMKUNvSIWloNjpH/hqVqojL2x2JGm1N8UA1dTui+8RNiEgULk0UHwBWZNoQmX4 2hWnXNVLx85q6DvPjMAzh/qxZlTjyDG6lEt/UfvRTOujZrHgc3hKzjgu8jsx2CZvQB8A grf7jhjP2k5Zr5JheXmEqwfA7S2wbDiGXuhQfVrbezYSuOita+GFEHLDTAeyOUW6OY4d C+uwf2OafRiGlKL+yhI8xv/J9V7DCtZfpRgatKVGGMgsSawWEy8yPx9p4VWkGrj7Mch/ /sk7l/f0Ojf5EmZbezAcWmSsKjOnsxFyzfVVFus3DBv7AOSVZYvGHW7h3PCfjbY5f+XF UCuA== 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=5X15wNkEY9wL0zsAm3k7ImoOEfSl/fIDMtb/PcDLI64=; b=beInySJThOAJDqytpHlTpm9KDx4RZmlZK2NwAN07UXwF7+cm4RX/7cAXTb4pfNmJuW 3BojfJSPEuTHfKJ5nucQp7pyHNUFW84betNEbXSkgV3JQDhrldeb/seoNOnnFFAKHiTz aGi+j2zfr9XlY/3K4Ddmt9E6y6z1Hhj+iCCFCwlOTBRShJfFjQTRxpy4A9KV5SSSZ0LN DNOoz6oAlMv2UDMtKa7Hpn4Ytl3zJIN2yHEhxpozG39av493ynLUuYybwBWAP8eHJwfk cQqcwV7WIPP2uny6bzs0nRxhu+hP06K7RQkV+KxMmJ4hT/DqIND1VJp8mvQ+VX5e/0tT 0mMA== X-Gm-Message-State: AMke39nq7A7+y9u+wGmPs82mVRppRheZdaiZok+BH96ZUo0e08n/BSHc5rsNN0pVT97fHg== X-Received: by 10.55.89.70 with SMTP id n67mr2693380qkb.292.1487945583704; Fri, 24 Feb 2017 06:13:03 -0800 (PST) Received: from irylachi ([200.55.161.75]) by smtp.gmail.com with ESMTPSA id g13sm4886106qtg.8.2017.02.24.06.13.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Feb 2017 06:13:03 -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 09:12:57 -0500 Message-ID: <000a01d28ea8$1c371eb0$54a55c10$@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+dBrCuhv9AL7yVafn33iVyA= 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 Thank you very much for the answer. 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