pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: valgog@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #8647: Backend process hangs and becomes unkillable when SSL client looses connection
Date: Mon, 02 Dec 2013 19:30:15 +0000
Message-ID: <E1VnZCB-0006dt-W3@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      8647
Logged by:          Valentine Gogichashvili
Email address:      valgog@gmail.com
PostgreSQL version: 9.2.4
Operating system:   Linux 3.2.0-48-generic Ubuntu x86_64
Description:        

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.  


We can reproduce the problem on all the versions from 9.0 up to 9.2. On the
9.3 the problem is unreproducible though.


If needed I could try to do some more experiments and collect dbg and strace
information about that hanging processes.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (6+ messages)  latest in thread

Message-ID: <E1VnZCB-0006dt-W3@wrigleys.postgresql.org>
Permalink:  ../E1VnZCB-0006dt-W3@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1VnZCB-0006dt-W3@wrigleys.postgresql.org

 · 

reply

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: valgog@gmail.com
  Subject: Re: BUG #8647: Backend process hangs and becomes unkillable when SSL client looses connection
  In-Reply-To: <E1VnZCB-0006dt-W3@wrigleys.postgresql.org>
  References: <E1VnZCB-0006dt-W3@wrigleys.postgresql.org>

* 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