Re: Who is causing all this i/o?

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Craig James <craig_james(at)emolecules(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Who is causing all this i/o?
Date: 2011-05-20 23:25:25
Message-ID: BANLkTikJ6xn-pKRhRA1HGiNotQt7N=1QDQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, May 20, 2011 at 3:14 PM, Craig James <craig_james(at)emolecules(dot)com> wrote:
> Our development server (PG 8.4.4 on Ubuntu server) is constantly doing
> something, and I can't figure out what.  The two production servers, which
> are essentially identical, don't show these symptoms.  In a nutshell, it's
> showing 10K blocks per second of data going out, all the time, and
> essentially zero blocks per second of input.
> After a lot of digging around, I found this in the /postgres/pg_stat_tmp
> directory.  If I list the directory including the i-nodes once every second,
> I find that a new 2MB file is being created roughly once every two seconds:

Have you got a lot of databases in your development environment? I
think that can sometimes cause a lot of pg_stat writes.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Craig James 2011-05-20 23:41:05 Re: Who is causing all this i/o?
Previous Message Steve Crawford 2011-05-20 23:08:14 Re: Who is causing all this i/o?