From: | Aidan Van Dyk <aidan(at)highrise(dot)ca> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | Re: What is happening on buildfarm member baiji? |
Date: | 2007-05-14 14:40:48 |
Message-ID: | 20070514144048.GQ9991@yugib.highrise.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
* Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> [070514 10:24]:
> This is not a behavior required by the TCP spec AFAICS. Also, in a
> quick test neither Linux nor HPUX appear to need SO_REUSEADDR --- on
> both, I can restart the postmaster immediately without it.
Did you have an active connection before restarting?
In HylaFAX, we had the same situation and went to using SO_REUSEADDR:
http://bugs.hylafax.org/show_bug.cgi?id=217
The problem appears if there *was* a connection, and the server was
stopped. Then the server can't bind again until the TIME_WAIT
connection goes away. Using SO_REUSEADDR allows the new server to
listen again right away.
a.
--
Aidan Van Dyk Create like a god,
aidan(at)highrise(dot)ca command like a king,
http://www.highrise.ca/ work like a slave.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-05-14 14:57:59 | Re: What is happening on buildfarm member baiji? |
Previous Message | Gregory Stark | 2007-05-14 14:29:05 | Re: Concurrent psql patch |