Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 3CD1F9FC2C8 for ; Fri, 18 May 2007 10:58:10 -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 14390-07 for ; Fri, 18 May 2007 10:58:00 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mir3-fs.mir3.com (mail.mir3.com [65.208.188.100]) by postgresql.org (Postfix) with ESMTP id 0CBBF9FC2AA for ; Fri, 18 May 2007 10:58:05 -0300 (ADT) Received: MIR3-FS.mir3.com 172.16.1.11 from 172.16.2.68 172.16.2.68 via HTTP with MS-WebStorage 6.0.6249 Received: from archimedes by MIR3-FS.mir3.com; 18 May 2007 06:58:03 -0700 Subject: Re: Ever Increasing IOWAIT From: Mark Lewis To: Ralph Mason Cc: pgsql-performance@postgresql.org In-Reply-To: <011b01c798d5$141365a0$3c3a30e0$@mason@telogis.com> References: <011b01c798d5$141365a0$3c3a30e0$@mason@telogis.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Organization: MIR3, Inc. Date: Fri, 18 May 2007 06:58:03 -0700 Message-Id: <1179496683.31471.72.camel@archimedes> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/321 X-Sequence-Number: 24711 You're not swapping are you? One explanation could be that PG is configured to think it has access to a little more memory than the box can really provide, which forces it to swap once it's been running for long enough to fill up its shared buffers or after a certain number of concurrent connections are opened. -- Mark Lewis On Fri, 2007-05-18 at 10:45 +1200, Ralph Mason wrote: > We have a database running on a 4 processor machine. As time goes by > 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=E2=80=99s fine for hour= s but > over time it goes bad again. >=20 > =20 >=20 > (CPU usage graph here > 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. >=20 > =20 >=20 > Anyone have any ideas? >=20 > =20 >=20 > Thanks >=20 > Ralph >=20 > =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: > 5/12/2006 4:07 p.m. >=20 >=20