Re: What is happening on buildfarm member baiji?

Поиск
Список
Период
Сортировка
От Aidan Van Dyk
Тема Re: What is happening on buildfarm member baiji?
Дата
Msg-id 20070514144048.GQ9991@yugib.highrise.ca
обсуждение исходный текст
Ответ на Re: What is happening on buildfarm member baiji?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
* Tom Lane <tgl@sss.pgh.pa.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@highrise.ca                                       command like a king,
http://www.highrise.ca/                                   work like a slave.

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: What is happening on buildfarm member baiji?
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: What is happening on buildfarm member baiji?