Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T4urH-0003I8-B3 for pgsql-bugs@postgresql.org; Fri, 24 Aug 2012 14:27:35 +0000 Received: from oproxy11-pub.bluehost.com ([173.254.64.10]) by magus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1T4urB-0001i7-8k for pgsql-bugs@postgresql.org; Fri, 24 Aug 2012 14:27:34 +0000 Received: (qmail 14566 invoked by uid 0); 24 Aug 2012 14:27:05 -0000 Received: from unknown (HELO host159.hostmonster.com) (74.220.207.159) by oproxy11.bluehost.com with SMTP; 24 Aug 2012 14:27:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=timbira.com; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=w+11tjJnrDpJcERk8QcoolIe9JH4FTTLC9JcKJSLzNU=; b=Q3O3Tgb+yKdSFftJ3XAZDCL4ZSib08jYdtLyVT/19DdNm0B01yiS54eRtqlZ1p3hLUa8bsqwnghAD86M3HuDzrevP/5ZCBLkv5N9+a3DNfLkmMnOTEJ1pX8AIQP9iVq4; Received: from [189.31.60.239] (port=61497 helo=[10.3.2.3]) by host159.hostmonster.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1T4uqm-0006ha-RN; Fri, 24 Aug 2012 08:27:05 -0600 Message-ID: <50378E29.2000704@timbira.com> Date: Fri, 24 Aug 2012 11:22:33 -0300 From: Euler Taveira User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120624 Icedove/10.0.5 MIME-Version: 1.0 To: shenqw@163.net CC: pgsql-bugs@postgresql.org Subject: Re: BUG #7504: corrupted statistics file "pg_stat_tmp/pgstat.stat" References: In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Identified-User: {1651:host159.hostmonster.com:timbirac:timbira.com} {sentby:smtp auth 189.31.60.239 authed with euler@timbira.com} X-Pg-Spam-Score: -1.2 (-) X-Archive-Number: 201208/187 X-Sequence-Number: 33911 On 24-08-2012 00:16, shenqw@163.net wrote: > Maybe this is a bug. > if stats collector process don't product pg_stat_tmp/pgstat.stat file, the > autovacuum launcher process will output those WARNING message? > It is possible but... Did you see any ERROR message(s) related to statistics collector before those ones? To solver your problem, you can remove the pgstat.stat file that it will be created again next time server starts. Of course, you will loose the statistics, hence remember to VACUUM ANALYZE your cluster. -- Euler Taveira de Oliveira - Timbira http://www.timbira.com.br/ PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento