Re: Questions about connection clean-up and "invalid page header"
В списке pgsql-general по дате отправления:
| От | Greg Stark |
|---|---|
| Тема | Re: Questions about connection clean-up and "invalid page header" |
| Дата | |
| Msg-id | 407d949e1001250326j47c812d4v932ba9a85bb78dcb@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Questions about connection clean-up and "invalid page header" (Scott Marlowe <scott.marlowe@gmail.com>) |
| Ответы |
Re: Questions about connection clean-up and "invalid page header"
|
| Список | pgsql-general |
On Mon, Jan 25, 2010 at 8:15 AM, Scott Marlowe <scott.marlowe@gmail.com> wrote: >> Is there a parameter to set in the configuration or some other means to >> shorten the time before an abandoned backend's query is cancelled? > > You can shorten the tcp_keepalive settings so that dead connections > get detected faster. > This won't help. The TCP connection is already being closed (or I think only half-closed). The problem is that in the Unix socket API you don't find out about that unless you check or try to read or write to it. The tcp_keepalive setting would only come into play if the remote machine crashed or was disconnected from the network. -- greg
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера