Thread: Re: [GENERAL] PG quitting sporadically!!

Re: [GENERAL] PG quitting sporadically!!

From
Bruce Momjian
Date:
Greg Smith wrote:
> On Thu, 14 Feb 2008, Phoenix Kiula wrote:
>
> > Suddenly, the postmaster either hogs up memory or just croaks and
> > doesn't respond. The write process has become horribly slow.
>
> You should consider whether that's because a checkpoint is happening at
> that point.  You didn't mention anything about your disk+controller
> information to have an idea how likely that is.  Consider increasing
> checkpoint_warning=3600 so that you'll always get a note in the logs when
> a checkpoint happens; if those line up with your client disconnects that
> will be telling you something.

Oh, that is a creative use to get checkpoint_warning to log all
checkpoints.  I have added a documentation mention about that.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +