Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 726719FC03F for ; Thu, 17 May 2007 20:02:05 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 72663-08 for ; Thu, 17 May 2007 20:01:56 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id 1A6B69FBAC8 for ; Thu, 17 May 2007 20:02:00 -0300 (ADT) Received: from [192.168.1.50] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l4HN22K9006346; Thu, 17 May 2007 16:02:03 -0700 Message-ID: <464CDF0A.5050309@commandprompt.com> Date: Thu, 17 May 2007 16:02:34 -0700 From: "Joshua D. Drake" User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: Ralph Mason CC: pgsql-performance@postgresql.org Subject: Re: Ever Increasing IOWAIT References: <011b01c798d5$141365a0$3c3a30e0$@mason@telogis.com> In-Reply-To: <011b01c798d5$141365a0$3c3a30e0$@mason@telogis.com> Content-Type: text/plain; charset=windows-1250; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV version 0.88.5, clamav-milter version 0.88.5 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Thu, 17 May 2007 16:02:03 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/305 X-Sequence-Number: 24695 Ralph Mason wrote: > We have a database running on a 4 processor machine. As time goes by=20 > the IO gets worse and worse peeking at about 200% as the machine loads = up. >=20 > =20 >=20 > The weird thing is that if we restart postgres it=92s fine for hours bu= t=20 > over time it goes bad again. >=20 > =20 >=20 > (CPU usage graph here=20 > http://www.flickr.com/photos/8347741@N02/502596262/ ) You can clearly = > see where the restart happens in the IO area >=20 > =20 >=20 > This is Postgres 8.1.4 64bit. 1. Upgrade to 8.1.9. There is a bug with autovac that is fixed that is=20 pretty important. >=20 > =20 >=20 > Anyone have any ideas? >=20 Sure... you aren't analyzing enough. You are using prepared queries that = have plans that get stale... you are not running autovac... You are=20 cursed (kidding).. Joshua D. Drake > =20 >=20 > Thanks >=20 > Ralph >=20 > =20 >=20 >=20 > -- > Internal Virus Database is out-of-date. > Checked by AVG Free Edition. > Version: 7.5.432 / Virus Database: 268.15.9/573 - Release Date:=20 > 5/12/2006 4:07 p.m. >=20 --=20 =3D=3D=3D The PostgreSQL Company: Command Prompt, Inc. =3D=3D=3D Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240 Providing the most comprehensive PostgreSQL solutions since 1997 http://www.commandprompt.com/ Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate PostgreSQL Replication: http://www.commandprompt.com/products/