Re: BUG #12071: Stat collector went crasy (50MB/s constant writes)

From: Maxim Boguk <maxim(dot)boguk(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #12071: Stat collector went crasy (50MB/s constant writes)
Date: 2014-11-26 13:25:33
Message-ID: CAK-MWwTRDpwNAepESosHi5J805jy6NmODQARpyVGR0PeFKwNeA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Wed, Nov 26, 2014 at 4:15 PM, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
wrote:

> maxim(dot)boguk(at)gmail(dot)com wrote:
>
> > Hi,
> >
> > On one of my servers stat collector went crasy on idle system.
> > It constantly write around 50MB/s on idle database (no activity at all).
> >
> > What I tried:
> > 1)stop/start the database - no effect
> > 2)update to 9.2.9 from 9.2.7 - no effect
>
> Is the server time correct? What is autovacuum doing

Server time look correct for me.
Аutovacuum doing nothing since no activity on server at all (I checked it
twice).

After careful examination of strace output I found one strange thing:
constant flow of:
16:22:33.202523 read(3, 0x7fff4148a5b0, 16) = -1 EAGAIN (Resource
temporarily unavailable)
16:22:33.297432 read(3, 0x7fff4148a5b0, 16) = -1 EAGAIN (Resource
temporarily unavailable)
16:22:33.322471 read(3, 0x7fff4148a5b0, 16) = -1 EAGAIN (Resource
temporarily unavailable)
16:22:33.417873 read(3, 0x7fff4148a5b0, 16) = -1 EAGAIN (Resource
temporarily unavailable)
16:22:33.456801 read(3, 0x7fff4148a5b0, 16) = -1 EAGAIN (Resource
temporarily unavailable)
But I not sure that is actual error signal or normal behaviour.

--
Maxim Boguk
Senior Postgresql DBA
http://www.postgresql-consulting.ru/ <http://www.postgresql-consulting.com/>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2014-11-26 13:35:36 Re: BUG #12071: Stat collector went crasy (50MB/s constant writes)
Previous Message Alvaro Herrera 2014-11-26 13:15:26 Re: BUG #12071: Stat collector went crasy (50MB/s constant writes)

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2014-11-26 13:33:10 Re: superuser() shortcuts
Previous Message Alvaro Herrera 2014-11-26 13:15:26 Re: BUG #12071: Stat collector went crasy (50MB/s constant writes)