X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 46120D1E123 for ; Sat, 13 Mar 2004 23:17:10 +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 85175-07 for ; Sat, 13 Mar 2004 19:17:11 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 721ABD1DB8D for ; Sat, 13 Mar 2004 19:17:08 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i2DNH8cT007305; Sat, 13 Mar 2004 18:17:08 -0500 (EST) To: Mike Bridge Cc: pgsql-performance@postgresql.org Subject: Re: High CPU with 7.4.1 after running for about 2 weeks In-reply-to: References: Comments: In-reply-to Mike Bridge message dated "Wed, 10 Mar 2004 03:43:37 +0000" Date: Sat, 13 Mar 2004 18:17:08 -0500 Message-ID: <7304.1079219828@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/182 X-Sequence-Number: 6038 Mike Bridge writes: > I've been running Postgresql 7.4.1 for a couple weeks after upgrading > from 7.2. I noticed today that the postmaster had been using 99% of > the dual CPUs (on a PowerEdge 2650) non-stop for the last couple days. > I stopped all the clients, and it didn't abate---even with no > connections---so I restarted the postmaster. Now everything is > running smoothly again. Since the postmaster is a single unthreaded process, it's quite impossible for it to take up 100% of two CPUs. Could you be more precise about which processes were eating CPU, and what they were doing according to the available state data? (ps auxww and pg_stat_activity can be helpful tools.) regards, tom lane