From: Benjamin Krajmalnik <kraj@servoyant.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Problem with pgstat timeouts
Date: Wed, 4 Jan 2012 11:48:02 -0700
Message-ID: <F4E6A2751A2823418A21D4A160B689888CA626@fletch.stackdump.local> (raw)
In-Reply-To: <4F04498F020000250004438B@gw.wicourts.gov>
References: <F4E6A2751A2823418A21D4A160B689888CA5A0@fletch.stackdump.local>
<F4E6A2751A2823418A21D4A160B689888CA623@fletch.stackdump.local>
<4F04498F020000250004438B@gw.wicourts.gov>
Batteries are installed and healthy. I wonder if it did it during one of the charge/discharge cycles and just did not revert (interestingly, I have one more server that did just that). I am trying to get the info from LSI as to what may have caused it, if it is safe to revert the cache mode while it is running, and, of course, the exact command so I don't foobar things up.
> -----Original Message-----
> From: Kevin Grittner [mailto:Kevin.Grittner@wicourts.gov]
> Sent: Wednesday, January 04, 2012 11:44 AM
> To: pgsql-admin; Benjamin Krajmalnik
> Subject: Re: [ADMIN] Problem with pgstat timeouts
>
> "Benjamin Krajmalnik" <kraj@servoyant.com> wrote:
>
> > Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache
> > if Bad BBU
> > Current Cache Policy: WriteThrough, ReadAhead, Direct, No Write
> > Cache if Bad BBU
>
> > Is it possible that the WriteThrough is what is causing the high
> > io (and maybe the pgstat wait timeouts as well)?
>
> Yes.
>
> > If this is the case, would it be safe to change the cache to Write
> > back?
>
> Maybe. How did it get into this (non-default) state? Are batteries
> installed and healthy?
>
> > Additionally, and somewhat unrelated, is there anything special
> > which I need to do when restarting the primary server vis-à-vis
> > the streaming replication server? In other words, if I were to
> > restart the main server, will the streaming replication server
> > reconnect and pick up once the primary comes online?
>
> I think that should be pretty automatic as long as you haven't
> promoted the standby to be the new master.
>
> -Kevin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: kraj@servoyant.com, Kevin.Grittner@wicourts.gov
Subject: Re: Problem with pgstat timeouts
In-Reply-To: <F4E6A2751A2823418A21D4A160B689888CA626@fletch.stackdump.local>
References: <F4E6A2751A2823418A21D4A160B689888CA5A0@fletch.stackdump.local> <F4E6A2751A2823418A21D4A160B689888CA623@fletch.stackdump.local> <4F04498F020000250004438B@gw.wicourts.gov> <F4E6A2751A2823418A21D4A160B689888CA626@fletch.stackdump.local>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox