Re: pg_cancel_backend() does not work with buzz queries
Вложения
В списке pgsql-general по дате отправления:
| От | Martijn van Oosterhout |
|---|---|
| Тема | Re: pg_cancel_backend() does not work with buzz queries |
| Дата | |
| Msg-id | 20071023073504.GA10684@svana.org обсуждение |
| Ответ на | Re: pg_cancel_backend() does not work with buzz queries ("Sergey Konoplev" <gray.ru@gmail.com>) |
| Ответы |
Re: pg_cancel_backend() does not work with buzz queries
|
| Список | pgsql-general |
On Tue, Oct 23, 2007 at 09:56:26AM +0400, Sergey Konoplev wrote: > I took a look at TCP state with netstat: > > pgdb:/base/PG-Data # netstat -pna |grep 8590 > tcp 1 0 127.0.0.1:5432 127.0.0.1:35442 > CLOSE_WAIT 8590/postgres: kono CLOSE_WAIT means that the client (in this case SSH) has shutdown() its end of the connection and evidently postgresql hasn't noticed. However, SSH has not closed its socket entirely, because then the write would fail. Can you strace the SSH daemon, my bet is that it's also stuck on a write(), to the original client. It would also be interesting to know what the original client is doing, since it's obviously still alive. Looks like somewhere along the chain a program called shutdown() but is no longer reading incoming data... Hope this helps, -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > From each according to his ability. To each according to his ability to litigate.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера