pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: siracusa@mindspring.com
Cc: Postgres Performance <pgsql-performance@postgresql.org>
Subject: Re: Idle postmaster taking up a lot of CPU
Date: Sat, 17 Jan 2004 12:32:33 -0500
Message-ID: <16686.1074360753@sss.pgh.pa.us> (raw)
In-Reply-To: <BC2EC02E.24F93%siracusa@mindspring.com>
References: <BC2EC02E.24F93%siracusa@mindspring.com>

John Siracusa <siracusa@mindspring.com> writes:
> Process 20753 was hovering around 60-70% CPU usage for a long time.

> I tried to see what that postmaster was doing, but it appeared to be "idle"

> % ps -wwwx -p 20753
>   PID TTY      STAT   TIME COMMAND
> 20753 pts/3    R     26:59 postgres: postgres pdm 192.168.0.35 idle

That seems odd to me too.  What PG version is this exactly?

If it happens again, please see if you can get a stack trace from the
not-so-idle process:

	$ gdb /path/to/postgres-executable
	gdb> attach PID-of-process
	gdb> bt
	gdb> quit

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <16686.1074360753@sss.pgh.pa.us>
Permalink:  ../16686.1074360753@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16686.1074360753@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, siracusa@mindspring.com
  Subject: Re: Idle postmaster taking up a lot of CPU
  In-Reply-To: <16686.1074360753@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox