Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UzZqV-0004xx-5v for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Jul 2013 22:05:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1UzZqU-0003mT-Kb for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Jul 2013 22:05:14 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UzZqT-0003lZ-JF for pgsql-bugs@postgresql.org; Wed, 17 Jul 2013 22:05:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UzZqR-0003Gl-D1 for pgsql-bugs@postgresql.org; Wed, 17 Jul 2013 22:05:13 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r6HM5A2v008476; Wed, 17 Jul 2013 18:05:10 -0400 (EDT) From: Tom Lane To: mark cc: pgsql-bugs@postgresql.org Subject: Re: COPY process hung in 9.2.x (9.2.4) In-reply-to: References: Comments: In-reply-to mark message dated "Wed, 17 Jul 2013 14:33:23 -0600" Date: Wed, 17 Jul 2013 18:05:09 -0400 Message-ID: <8475.1374098709@sss.pgh.pa.us> X-Pg-Spam-Score: 0.4 (/) 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 mark writes: > client connection runs through bouncer (session pooling) to a 9.2.4 > postgres back end. I have had this problem happen without bouncer in the > middle but for this limited debug bouncer is in play. have numerous clinets > copying to the same table throughout the day, often concurrently. I wonder whether pgbouncer realizes that it should force-disconnect its database connection if the client disconnects ungracefully. Your backend is evidently waiting for COPY data that won't be forthcoming; the only way to get it out of that is to drop the connection. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs