From: Matthias Apitz <guru@unixarea.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: PostgreSQL client hangs sometimes on 'EXEC SQL PREPARE sid_sisisinst FROM :select_anw;'
Date: Mon, 11 May 2020 22:06:58 +0200
Message-ID: <20200511200658.GA10660@sh4-5.1blu.de> (raw)
In-Reply-To: <26028.1589222489@sss.pgh.pa.us>
References: <20200427130618.GA24964@sh4-5.1blu.de>
<20200427131955.GB24964@sh4-5.1blu.de>
<20200428081018.GB4007@sh4-5.1blu.de>
<20200510105226.GA14033@sh4-5.1blu.de>
<9787.1589124821@sss.pgh.pa.us>
<20200511065450.GA20181@sh4-5.1blu.de>
<29382.1589205012@sss.pgh.pa.us>
<20200511162452.GA3930@sh4-5.1blu.de>
<20200511181810.GC3930@sh4-5.1blu.de>
<26028.1589222489@sss.pgh.pa.us>
El día Montag, Mai 11, 2020 a las 02:41:29 -0400, Tom Lane escribió:
> Matthias Apitz <guru@unixarea.de> writes:
> > Below is the exchange. The visible strings are: 'sisis' (the PG user),
> > 'sisis123' (its password in PG, a dummy password used for testing) and
> > 'srap32dxr1' the hostname. The server is terminating the connection with
> > a F-pkg:
>
> [ squint... ] That looks nothing like a Postgres-protocol exchange
> to me. If it weren't for the runs of zeroes, I'd wonder if the
> connection had SSL encryption turned on. Perhaps you captured the
> wrong session?
I don't think so. It is exactly the problematic connection started by
the Java process against the port 5432; look the SYN pkg:
19:54:02.940205 IP 10.23.33.19.48438 > 10.23.33.19.5432: Flags [S], seq 3950072774, win 43690,
options [mss 65495,sackOK,TS val 3334863612 ecr 0,nop,wscale 7], length 0
As you say, that this is not any Postgres-protocol exchange, I will
check the configuration of this part of our software. It can be some
kind of misconfiguration, some part is talking TCP/IP to the wrong server.
Thanks for the hint.
matthias
--
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
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: guru@unixarea.de
Subject: Re: PostgreSQL client hangs sometimes on 'EXEC SQL PREPARE sid_sisisinst FROM :select_anw;'
In-Reply-To: <20200511200658.GA10660@sh4-5.1blu.de>
References: <20200427130618.GA24964@sh4-5.1blu.de> <20200427131955.GB24964@sh4-5.1blu.de> <20200428081018.GB4007@sh4-5.1blu.de> <20200510105226.GA14033@sh4-5.1blu.de> <9787.1589124821@sss.pgh.pa.us> <20200511065450.GA20181@sh4-5.1blu.de> <29382.1589205012@sss.pgh.pa.us> <20200511162452.GA3930@sh4-5.1blu.de> <20200511181810.GC3930@sh4-5.1blu.de> <26028.1589222489@sss.pgh.pa.us> <20200511200658.GA10660@sh4-5.1blu.de>
* 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