Re: "Stuck" query

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tommy Gildseth <tommy(dot)gildseth(at)usit(dot)uio(dot)no>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: "Stuck" query
Date: 2008-09-10 12:26:44
Message-ID: 24742.1221049604@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tommy Gildseth <tommy(dot)gildseth(at)usit(dot)uio(dot)no> writes:
> Richard Huxton wrote:
>> Looks like part of your query results being sent. Is it hung in that one
>> system-call?

> Yes, I left it there for about ~1 hour, and that was all that ever came.

Seems like you have got a network issue. What does netstat show for the
status of that connection?

I don't think that a query cancel will blow PG off the send; you'd
probably have to resort to kill -9 on that process (with a consequent
restart of other sessions). It's odd that the kernel hasn't given up
on the connection yet ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tommy Gildseth 2008-09-10 12:57:46 Re: "Stuck" query
Previous Message John DeSoi 2008-09-10 12:07:51 Re: psql scripting tutorials