Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 9067365034B for ; Tue, 16 Dec 2008 17:38:59 -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 14900-02 for ; Tue, 16 Dec 2008 17:38:53 -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 3D573650357 for ; Tue, 16 Dec 2008 17:38:51 -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 mBGLhoxu009710 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 16 Dec 2008 13:43:55 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 184A647CCD; Tue, 16 Dec 2008 18:38:42 -0300 (CLST) Date: Tue, 16 Dec 2008 18:38:41 -0300 From: Alvaro Herrera To: Rafael Domiciano Cc: Scott Marlowe , "Matthew T. O'Connor" , Rafael Martinez , "pgsql-admin@postgresql.org" Subject: Re: Vacuum Problems Message-ID: <20081216213841.GS4741@alvh.no-ip.org> References: <3a0028490812080504x22618c6fxd7df8febaadb1632@mail.gmail.com> <3a0028490812080811r1c8a4756i1a1a514911741def@mail.gmail.com> <3a0028490812080829t1f485ec3g66626e8c4e2b610c@mail.gmail.com> <3a0028490812080917n170df296kfe33a2733a0d0377@mail.gmail.com> <3a0028490812090258k247ad8b2j8f9037d35b01390f@mail.gmail.com> <3a0028490812160914v1d6aaa48l8169b0c34cd9c038@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3a0028490812160914v1d6aaa48l8169b0c34cd9c038@mail.gmail.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 13:43:56 -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/118 X-Sequence-Number: 30951 Rafael Domiciano escribió: > 2008/12/9 Rafael Domiciano > > > Maybe Could be Check-Points? I have changed the parameters sometime ago. > > Follow: > > effective_cache_size = 200MB > > > > checkpoint_segments = 40 # in logfile segments, min 1, 16MB > > each > > checkpoint_timeout = 3min # range 30s-1h checkpoint_timeout 3 minutes? I think you want to increase that a lot. > > Now I'm having the following problem on vacuum: > > vacuumdb: vacuuming of database "Postgres" failed: ERRO: multiple active > > vacuums for index "PartInd_replicacao_historico_sl_log_2-node-1". > > > > But there's no anymore vacuum running. Something's very wrong here. This shouldn't ever happen. I haven't followed this thread but you really should investigate this. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.