Re: killing process question

Поиск
Список
Период
Сортировка
От Nigel J. Andrews
Тема Re: killing process question
Дата
Msg-id Pine.LNX.4.21.0209192136490.599-100000@ponder.fairway2k.co.uk
обсуждение исходный текст
Ответ на Re: killing process question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Thu, 19 Sep 2002, Tom Lane wrote:

> "Johnson, Shaunn" <SJohnson6@bcbsm.com> writes:
> > --generally speaking, how long should this run?
>
> > (gdb) attach 3488
> > Attaching to program: /usr/bin/postgres, process 3488
>
> Not very long --- it takes a couple seconds, for me, on a machine that's
> not fast by today's standards.
>
> > --i know i should be patient, but i'm trying to figure
> > --out if this should take more than 20 minutes or if
> > --i've done something wrong.  (OR, should that be postmaster
> > --and not postgres in the above line?)
>
> postgres is correct.  But are you sure that you are pointing to the same
> postgres executable that the process is running?  Perhaps gdb could get
> confused if you point to the wrong version.

Another shot in the dark - could the process have blocked the relevent signal
(SIGTRAP) sent by the debugger?


--
Nigel J. Andrews
Director

---
Logictree Systems Limited
Computer Consultants


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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: cannot drop/create sequence
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Debugging the backend?