Re: Pgsql taking a *lot* of CPU time (unkillable).

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Berteun Damman <berteun(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Pgsql taking a *lot* of CPU time (unkillable).
Date: 2005-01-15 18:15:36
Message-ID: 10335.1105812936@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Berteun Damman <berteun(at)gmail(dot)com> writes:
> After I've finished using it, and leaving it to itself for a while, it
> starts to consume all CPU time for, apparently, no good reason
> (because it's not doing anything).

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.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-01-15 18:27:49 Re: Index optimization ?
Previous Message Bo Lorentsen 2005-01-15 18:10:48 Re: OID Usage