Re: Kill a session

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Kill a session
Дата
Msg-id 8780.1152856222@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Kill a session  ("Craig A. James" <cjames@modgraph-usa.com>)
Ответы Re: Kill a session  (Markus Schaber <schabi@logix-tt.com>)
Re: Kill a session  ("Craig A. James" <cjames@modgraph-usa.com>)
Список pgsql-performance
"Craig A. James" <cjames@modgraph-usa.com> writes:
> Bottom line is that I was expecting "instant death" with SIGTERM, but
> instead got an agonizing, drawn out -- but safe -- death of the query.

What was the query exactly?

Our expectation is that all or at least most queries should respond to
SIGINT or SIGTERM interrupts pretty rapidly, say on a less-than-a-second
timescale.  However there are various loops in the backend that fail to
execute CHECK_FOR_INTERRUPTS sufficiently often :-(.  We've been
gradually finding and fixing these, and will be glad to fix your case
if you provide enough details to pin it down.  You might be interested
in this current thread about a similar problem:

http://archives.postgresql.org/pgsql-patches/2006-07/msg00039.php

            regards, tom lane

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

Предыдущее
От: "Craig A. James"
Дата:
Сообщение: Re: Kill a session
Следующее
От: Florian Weimer
Дата:
Сообщение: Re: size of pg_dump files containing bytea values