Re: Pgsql taking a *lot* of CPU time (unkillable). - Mailing list pgsql-general

From Berteun Damman
Subject Re: Pgsql taking a *lot* of CPU time (unkillable).
Date
Msg-id 8d25d48a0501151140272f2330@mail.gmail.com
Whole thread Raw
In response to Re: Pgsql taking a *lot* of CPU time (unkillable).  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Pgsql taking a *lot* of CPU time (unkillable).  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Sat, 15 Jan 2005 13:15:36 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Would you attach to the process with a debugger and get a stack trace?
>
>         $ gdb /usr/pkg/bin/postgres PID-of-process
>         gdb> bt
>         gdb> q
>
> Probably should repeat this a few times to get a clear sense of where
> it's looping.

I think it has a locking problem:
#0  0x483bbb2e in pthread__lock_ras_end () from /usr/lib/libpthread.so.0
Error accessing memory address 0x483bbb26: Operation not permitted.

And the other time:
#0  0x483bbb31 in pthread__lock_ras_end () from /usr/lib/libpthread.so.0
And again an accessing error.

Does this indicate an error in NetBSD's pthreading library?

Berteun

pgsql-general by date:

Previous
From: PFC
Date:
Subject: Re: OID Usage
Next
From: ntinos@aueb.gr
Date:
Subject: Re: PQisBusy() always returns TRUE