Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 59599650316 for ; Tue, 4 Nov 2008 09:17:09 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 09301-06 for ; Tue, 4 Nov 2008 09:17:08 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 7B887650323 for ; Tue, 4 Nov 2008 09:17:08 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id mA4DH6aZ016120; Tue, 4 Nov 2008 08:17:06 -0500 (EST) To: Laszlo Nagy cc: pgsql-admin@postgresql.org Subject: Re: rebellious postgres process In-reply-to: <490FFCF4.2050500@shopzeus.com> References: <490FFCF4.2050500@shopzeus.com> Comments: In-reply-to Laszlo Nagy message dated "Tue, 04 Nov 2008 08:42:44 +0100" Date: Tue, 04 Nov 2008 08:17:05 -0500 Message-ID: <16117.1225804625@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200811/20 X-Sequence-Number: 30674 Laszlo Nagy writes: > The processi is using 100% CPU for 52 hours! Here it is: > %ps axl | grep 677 > 70 677 666 757 107 0 22396 5460 select Rs ?? 3144:50.88 > postgres: stats collector process (postgres) Huh, that's weird. We've fixed some bugs in the past that led the stats collector to consume excessive CPU --- but that was all pre-8.3. Do you have a whole lot of tables in this database? (Or even more directly: how large is $PGDATA/global/pgstat.stat ?) regards, tom lane