BUG #3808: Connections stays open in state CLOSE_WAIT

Lists: pgsql-bugs
From: "Daniel Migowski" <dmigowski(at)ikoffice(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3808: Connections stays open in state CLOSE_WAIT
Date: 2007-12-07 14:39:22
Message-ID: 200712071439.lB7EdMl1085094@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 3808
Logged by: Daniel Migowski
Email address: dmigowski(at)ikoffice(dot)de
PostgreSQL version: 8.1.4
Operating system: Windows Server 2003
Description: Connections stays open in state CLOSE_WAIT
Details:

Hello dear bug report readers,

I am using PostgreSQL 8.1.4 on Windows 2003 Server and do my backups with
the pg_dump in the same package.

From time to time the server side of the connection remains open with
netstat showing the connection in state CLOSE_WAIT. The pg_dump process at
this time has succesfully done its job and is gone long, but the connection
stays open.

I notices this, because, together with the connection, many AccessShare
locks on different tables and one ExclusiveLock remains open.

It is possible to cancel the backend process from PGAdmin, but after
grinding the server to a halt with the most minor update script (it was a
DROP NOT NULL), I really get annoyed about this bug.

Even more problematic is, that the behaviour cannot be reproduced (i tried
for hours), it just occurs occacionally.

I noticed the changelog of version 8.1.10 (Magnus: Windows Socket
Improvements). Will they fix this bug?

Do you need more information to fix this bug?

Thank you very much for taking your time to cover this in advance, and with
best regards,

Daniel Migowski


From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Daniel Migowski <dmigowski(at)ikoffice(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3808: Connections stays open in state CLOSE_WAIT
Date: 2007-12-07 15:00:21
Message-ID: 20071207150021.GD5192@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Daniel Migowski wrote:

> I noticed the changelog of version 8.1.10 (Magnus: Windows Socket
> Improvements). Will they fix this bug?

Upgrade and tell us.

We don't put out bugfix releases just for the sake of wasting bandwidth.
If you're not running the latest version from your stable branch, IMHO
your bug reports should be ignored.

--
Alvaro Herrera http://www.amazon.com/gp/registry/CTMLCN8V17R4
"In a specialized industrial society, it would be a disaster
to have kids running around loose." (Paul Graham)


From: Dave Page <dpage(at)postgresql(dot)org>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Daniel Migowski <dmigowski(at)ikoffice(dot)de>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3808: Connections stays open in state CLOSE_WAIT
Date: 2007-12-07 15:06:16
Message-ID: 47596168.4070705@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Alvaro Herrera wrote:
> Daniel Migowski wrote:
>
>> I noticed the changelog of version 8.1.10 (Magnus: Windows Socket
>> Improvements). Will they fix this bug?
>
> Upgrade and tell us.
>
> We don't put out bugfix releases just for the sake of wasting bandwidth.
> If you're not running the latest version from your stable branch, IMHO
> your bug reports should be ignored.
>

On the bug reporting form it says:

Make sure you are running the latest available minor release for your
major version before reporting a bug. The current list of supported
versions is 8.2.5, 8.1.10, 8.0.14, 7.4.18.

Regards, Dave.


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Dave Page <dpage(at)postgresql(dot)org>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Daniel Migowski <dmigowski(at)ikoffice(dot)de>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3808: Connections stays open in state CLOSE_WAIT
Date: 2007-12-16 10:08:17
Message-ID: 200712161008.lBGA8HW03245@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Dave Page wrote:
> Alvaro Herrera wrote:
> > Daniel Migowski wrote:
> >
> >> I noticed the changelog of version 8.1.10 (Magnus: Windows Socket
> >> Improvements). Will they fix this bug?
> >
> > Upgrade and tell us.
> >
> > We don't put out bugfix releases just for the sake of wasting bandwidth.
> > If you're not running the latest version from your stable branch, IMHO
> > your bug reports should be ignored.
> >
>
> On the bug reporting form it says:
>
> Make sure you are running the latest available minor release for your
> major version before reporting a bug. The current list of supported
> versions is 8.2.5, 8.1.10, 8.0.14, 7.4.18.

Should we require the form to tell us their exact version number and
throw an error if it isn't the current one?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +