Re: Connection terminated by the server causes deadlock in jdbc client side connection

Поиск
Список
Период
Сортировка
Искать
От
Steffen Heil (Mailinglisten)
Тема
Re: Connection terminated by the server causes deadlock in jdbc client side connection
Дата
Msg-id
885902ab090d4641a8ac74c199ba2873@exchange.sh-solutions.de
Ответ на
Список
Дерево обсуждения
Connection terminated by the server causes deadlock in jdbc client side connection Leonardo Frittelli <leonardo.frittelli@gmail.com>
Re: Connection terminated by the server causes deadlock in jdbc client side connection "Steffen Heil (Mailinglisten)" <lists@steffen-heil.de>
Re: Connection terminated by the server causes deadlock in jdbc client side connection Dave Cramer <pg@fastcrypt.com>
Re: Connection terminated by the server causes deadlock in jdbc client side connection "Steffen Heil (Mailinglisten)" <lists@steffen-heil.de>
Re: Connection terminated by the server causes deadlock in jdbc client side connection Leonardo Frittelli <leonardo.frittelli@gmail.com>
Re: Connection terminated by the server causes deadlock in jdbc client side connection "Steffen Heil (Mailinglisten)" <lists@steffen-heil.de>
Re: Connection terminated by the server causes deadlock in jdbc client side connection Leonardo Frittelli <leonardo.frittelli@gmail.com>
Re: Connection terminated by the server causes deadlock in jdbc client side connection Donald <postgres@kiwi-fraser.net>
Re: Connection terminated by the server causes deadlock in jdbc client side connection lfrittelli <leonardo.frittelli@gmail.com>
Re: Connection terminated by the server causes deadlock in jdbc client side connection Donald <postgres@kiwi-fraser.net>
Re: Connection terminated by the server causes deadlock in jdbc client side connection Dave Cramer <pg@fastcrypt.com>
Hi


> What happens if the server just discards the connection. In other words it
> doesn't close it. It just terminates without closing any open connections ?

That should only happen, if the servers OS crashes. For a process there is no 
way to "discard" a connection. (The server could keep the connection open 
without sending or reading, but I would consider that a serious bug.)

And if the server OS crashes and the client tries to send something, a timeout 
waiting for the sent packets will occur or if the server rebooted in time, a 
RST packet will be sent. Either way, the client will detect that and close the 
connection.


Regards,
  Steffen


В списке pgsql-jdbc по дате отправления
От: Leonardo Frittelli
Дата:
От: Steffen Heil (Mailinglisten)
Дата:
FAQ