Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VnZCM-0002qN-Qd for pgsql-bugs@arkaria.postgresql.org; Mon, 02 Dec 2013 19:30:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VnZCM-0005OV-9J for pgsql-bugs@arkaria.postgresql.org; Mon, 02 Dec 2013 19:30:26 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VnZCK-0005Mw-OU for pgsql-bugs@postgresql.org; Mon, 02 Dec 2013 19:30:24 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VnZCI-0007T1-3F for pgsql-bugs@postgresql.org; Mon, 02 Dec 2013 19:30:24 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by mahout.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VnZCH-0005y8-Al for pgsql-bugs@postgresql.org; Mon, 02 Dec 2013 19:30:21 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1VnZCB-0006dt-W3 for pgsql-bugs@postgresql.org; Mon, 02 Dec 2013 19:30:16 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: BUG #8647: Backend process hangs and becomes unkillable when SSL client looses connection To: pgsql-bugs@postgresql.org From: valgog@gmail.com Message-Id: Date: Mon, 02 Dec 2013 19:30:15 +0000 X-Pg-Spam-Score: 0.9 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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