From: Peter Juhasz <peter.juhasz@comnica.com>
To: pgsql-general@postgresql.org
Subject: [pgpool] invalid read kind
Date: Thu, 10 Mar 2022 17:18:06 +0100
Message-ID: <fb545ae1b0b784bf82dbac091208688086e72659.camel@comnica.com> (raw)
Hi all,
we have a setup where we use PGPOOL instances between our application
and the main DB server. Lately there is an intermittent but annoying
error that sometimes pops up:
ERROR: unable to parse the query
DETAIL: invalid read kind
SSL SYSCALL error: EOF detected
Version numbers:
pgpool 3.7.20
postgresql 9.5.25
Relevant part of pgpool's log:
2022-03-10T09:44:50.000000+00:00 sanitized_hostname pgpool[8731]:
[2992409-1] 2022-03-10 09:44:50: pid 8731: LOG: statement: SELECT 'OK'
2022-03-10T09:44:50.000000+00:00 sanitized_hostname pgpool[8731]:
[2992410-1] 2022-03-10 09:44:50: pid 8731: LOG: DB node id: 0 backend
pid: 29433 statement: SELECT 'OK'
2022-03-10T09:44:50.000000+00:00 sanitized_hostname pgpool[8731]:
[2992411-1] 2022-03-10 09:44:50: pid 8731: ERROR: unable to parse the
query
2022-03-10T09:44:50.000000+00:00 sanitized_hostname pgpool[8731]:
[2992411-2] 2022-03-10 09:44:50: pid 8731: DETAIL: invalid read kind
2022-03-10T09:44:50.000000+00:00 sanitized_hostname pgpool[8731]:
[2992412-1] 2022-03-10 09:44:50: pid 8731: LOG: statement: DISCARD
ALL
2022-03-10T09:44:50.000000+00:00 sanitized_hostname pgpool[8731]:
[2992413-1] 2022-03-10 09:44:50: pid 8731: LOG: DB node id: 0 backend
pid: 29433 statement: DISCARD ALL
2022-03-10T09:44:50.000000+00:00 sanitized_hostname pgpool[8731]:
[2992414-1] 2022-03-10 09:44:50: pid 8731: FATAL: failed to read kind
from backend 0
2022-03-10T09:44:50.000000+00:00 sanitized_hostname pgpool[8731]:
[2992414-2] 2022-03-10 09:44:50: pid 8731: DETAIL: kind == 0
The query does not appear to be relevant, it's well-formed and not the
same every time.
Now, what does this mean, and how to deal with it?
Best regards,
Peter Juhasz
Comnica Kft.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: peter.juhasz@comnica.com
Subject: Re: [pgpool] invalid read kind
In-Reply-To: <fb545ae1b0b784bf82dbac091208688086e72659.camel@comnica.com>
References: <fb545ae1b0b784bf82dbac091208688086e72659.camel@comnica.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox