Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 454A86503C6 for ; Tue, 16 Dec 2008 09:45:53 -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 25191-02 for ; Tue, 16 Dec 2008 09:45:50 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by mail.postgresql.org (Postfix) with ESMTP id 878D065034E for ; Tue, 16 Dec 2008 09:45:50 -0400 (AST) Received: from perhan.alvh.no-ip.org (200-126-65-108.bk5-dsl.surnet.cl [200.126.65.108]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id mBGDoo6J029082 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 16 Dec 2008 05:50:55 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 2784C47CCD; Tue, 16 Dec 2008 10:45:42 -0300 (CLST) Date: Tue, 16 Dec 2008 10:45:42 -0300 From: Alvaro Herrera To: Laszlo Nagy Cc: pgsql-admin@postgresql.org Subject: Re: rebellious pg stats collector (reopened case) Message-ID: <20081216134542.GH4741@alvh.no-ip.org> References: <49479876.8040607@shopzeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49479876.8040607@shopzeus.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Tue, 16 Dec 2008 05:50:55 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200812/115 X-Sequence-Number: 30948 Laszlo Nagy wrote: > PostgreSQL 8.3.5, the system is now stable (uptime > 10 days). > PostgreSQL stats collector uses 100% CPU forever: Could you grab a few stack traces from it and post them? Also possibly useful, leave strace running on the pgstat process for a while and post the output somewhere. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support