X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 12A2ED1B47D for ; Sat, 17 Jan 2004 17:33:08 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 67270-05 for ; Sat, 17 Jan 2004 13:32:36 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id D0CD9D1B449 for ; Sat, 17 Jan 2004 13:32:35 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id i0HHWXpH016687; Sat, 17 Jan 2004 12:32:34 -0500 (EST) To: siracusa@mindspring.com Cc: Postgres Performance Subject: Re: Idle postmaster taking up a lot of CPU In-reply-to: References: Comments: In-reply-to John Siracusa message dated "Sat, 17 Jan 2004 10:34:22 -0500" Date: Sat, 17 Jan 2004 12:32:33 -0500 Message-ID: <16686.1074360753@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/187 X-Sequence-Number: 5361 John Siracusa 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