Re: killing process question - Mailing list pgsql-general

From Nigel J. Andrews
Subject Re: killing process question
Date
Msg-id Pine.LNX.4.21.0209192136490.599-100000@ponder.fairway2k.co.uk
Whole thread Raw
In response to Re: killing process question  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Robert Treat
Date:
Subject: Re: cannot drop/create sequence
Next
From: Tom Lane
Date:
Subject: Re: Debugging the backend?