Re: Bug (and fix): leaks of TCP connections when connected

Поиск
Список
Период
Сортировка
От Marcus Andree S. Magalhaes
Тема Re: Bug (and fix): leaks of TCP connections when connected
Дата
Msg-id 61835.200.174.151.240.1087873026.squirrel@200.155.0.57
обсуждение исходный текст
Ответ на Re: Bug (and fix): leaks of TCP connections when connected  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: Bug (and fix): leaks of TCP connections when connected  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
<snip>

> In theory the discarded connections should eventually be garbage
> collected and closed, right? So at least the leak is bounded.
>

I don't think so. We had a similar problem here.

After many hours of debugging, we came to the fact that either
java garbage collector does _not_ close open connections or do it
after a long time (much longer than one would expect).
This feature/bug caused a severe connection leak in our code and
we had to issue a explicit close() to our socket connections.




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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: Bug (and fix): leaks of TCP connections when connected
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Bug (and fix): leaks of TCP connections when connected