From: Andres Freund <andres@2ndquadrant.com>
To: valgog@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8647: Backend process hangs and becomes unkillable when SSL client looses connection
Date: Thu, 5 Dec 2013 10:59:49 +0100
Message-ID: <20131205095949.GA11997@alap2.anarazel.de> (raw)
In-Reply-To: <E1VnZCB-0006dt-W3@wrigleys.postgresql.org>
References: <E1VnZCB-0006dt-W3@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 2013-12-02 19:30:15 +0000, valgog@gmail.com wrote:
> If a TCP connection of the SSL client (psql in our case) is gone, during
> execution of a query, that is preparing a big dataset, the process on the
> server side (the backend process) becomes unkillable, and as soon as the OS
> cleans the TCP connection away, the process starts to consume up to 60% of
> system time for it's processor and is still unkillable.
> If needed I could try to do some more experiments and collect dbg and strace
> information about that hanging processes.
Yes, that would be good. Possibly also a profile showing where time is
spent.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: andres@2ndquadrant.com, valgog@gmail.com
Subject: Re: BUG #8647: Backend process hangs and becomes unkillable when SSL client looses connection
In-Reply-To: <20131205095949.GA11997@alap2.anarazel.de>
References: <E1VnZCB-0006dt-W3@wrigleys.postgresql.org> <20131205095949.GA11997@alap2.anarazel.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