Re: [GENERAL] PG quitting sporadically!!

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Greg Smith <gsmith(at)gregsmith(dot)com>
Cc: Phoenix Kiula <phoenix(dot)kiula(at)gmail(dot)com>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [GENERAL] PG quitting sporadically!!
Date: 2008-02-16 21:12:18
Message-ID: 200802162112.m1GLCIf07638@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2008-02-16 21:17:51 Re: SELECT CAST(123 AS char) -> 1
Previous Message Andrej Ricnik-Bay 2008-02-16 20:31:29 Re: Are indexes blown?

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2008-02-16 21:14:46 Re: [GENERAL] PG quitting sporadically!!
Previous Message Greg Smith 2008-02-15 21:36:57 Re: PG quitting sporadically!!