pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marinos Yannikos <mjy@geizhals.at>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Marinos Yannikos <mjy@geizhals.at>
Cc: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: Re: Ident authentication fails due to bind error on server (8.4.8)
Date: Tue, 28 Jun 2011 23:02:58 +0200
Message-ID: <op.vxs0q8d1khmbxg@klump-pc.ghoffice> (raw)
In-Reply-To: <op.vw83rlr0khmbxg@klump-pc.ghoffice>
References: <op.vw7q9avrkhmbxg@klump-pc>
	<17691.1308325281@sss.pgh.pa.us>
	<20339.1308333119@sss.pgh.pa.us>
	<op.vw83rlr0khmbxg@klump-pc.ghoffice>

On Sat, 18 Jun 2011 04:55:59 +0200, Marinos Yannikos <mjy@geizhals.at>  
wrote:

> sysctl -w net.ipv4.tcp_tw_reuse=1

This fixed the issue apparently, so bind() seems to choose ports in  
TIME_WAIT state for some reason with sin_port=0 and that caused it.

Regards,
  Marinos



view thread (5+ messages)

Message-ID: <op.vxs0q8d1khmbxg@klump-pc.ghoffice>
Permalink:  ../op.vxs0q8d1khmbxg@klump-pc.ghoffice/
Also on:    postgresql.org/message-id/op.vxs0q8d1khmbxg@klump-pc.ghoffice

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: mjy@geizhals.at, tgl@sss.pgh.pa.us
  Subject: Re: Ident authentication fails due to bind error on server (8.4.8)
  In-Reply-To: <op.vxs0q8d1khmbxg@klump-pc.ghoffice>
  References: <op.vw7q9avrkhmbxg@klump-pc> <17691.1308325281@sss.pgh.pa.us> <20339.1308333119@sss.pgh.pa.us> <op.vw83rlr0khmbxg@klump-pc.ghoffice> <op.vxs0q8d1khmbxg@klump-pc.ghoffice>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox