Re: How to debug a locked backend ? - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: How to debug a locked backend ?
Date
Msg-id 20051118131838.GA17749@svana.org
Whole thread Raw
In response to How to debug a locked backend ?  (Csaba Nagy <nagy@ecircle-ag.com>)
List pgsql-general
Attach with gdb:

gdb -p [pid]

You may need to specify the the executable on some platforms.

On Fri, Nov 18, 2005 at 12:13:00PM +0100, Csaba Nagy wrote:
> Hi all,
>
> I have right now a locked backend, similar to what I had a few days ago.
> It won't answer to pg_cancel_backend.
> Is there a way to diagnoze what it is actually doing ?
>
> If you answer, please do it quickly as in max 15 minutes I'll kill -9
> ...
>
> Thanks,
> Csaba.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings

--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment

pgsql-general by date:

Previous
From: David Rysdam
Date:
Subject: to Jerry LeVan
Next
From: "A.j. Langereis"
Date:
Subject: Re: How to debug a locked backend ?