* Tom Lane <[EMAIL PROTECTED]> [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, [EMAIL PROTECTED] command like a king, http://www.highrise.ca/ work like a slave.
Description: Digital signature