Re: Connections getting stuck sending data to client

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Chris Butler" <chrisb(at)zedcore(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Connections getting stuck sending data to client
Date: 2008-10-31 18:27:27
Message-ID: dcc563d10810311127h239f8018pe6ba745448f638a5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Oct 31, 2008 at 9:36 AM, Chris Butler <chrisb(at)zedcore(dot)com> wrote:
> I've been having intermittent problems with our DB server (running
> postgresql 8.3.3) reaching its connection limit, all because of a SELECT
> statement that's stuck while sending data. This gets stuck because there's a
> transaction waiting to do an ALTER TABLE, then the subsequent SELECTs wait
> for the ALTER.
>
> The problem seems to be that the client connection drops while the server is
> sending data to the client.

Are the clients windows? I know there's a well known and published
bug in windows where it freaks out on blocking ports and the
connection hangs. There's a kb article on it on the ms site. It's
been around since windows 95 or so and there appears to be no plans to
fix it.

If it's not that I'm not sure what it would be.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Aidan Van Dyk 2008-10-31 19:11:48 Re: Decreasing WAL size effects
Previous Message Chris Browne 2008-10-31 17:47:39 Re: Are there plans to add data compression feature to postgresql?