Re: COPY process hung in 9.2.x (9.2.4)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mark <dvlhntr(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: COPY process hung in 9.2.x (9.2.4)
Date: 2013-07-17 22:05:09
Message-ID: 8475.1374098709@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

mark <dvlhntr(at)gmail(dot)com> 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message kaushal.bhatt 2013-07-18 00:12:38 BUG #8308: Installation
Previous Message mark 2013-07-17 20:33:23 COPY process hung in 9.2.x (9.2.4)