Re: System in Recovery Mode But No Activity

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "John Cheng" <chonger(dot)cheng(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: System in Recovery Mode But No Activity
Date: 2008-06-21 02:13:46
Message-ID: dcc563d10806201913w1296112en446fae0e730ebc36@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jun 20, 2008 at 7:56 PM, John Cheng <chonger(dot)cheng(at)gmail(dot)com> wrote:
> I am running postgresql 8.3, I was not aware of the 3 options (smart,
> fast, or immediate). So it used the default - "fast".
>
> The state of the server when I sent this e-mail was that there were
> two remaining connections/postgres subprocesses. I used kill -9 to
> stop those two subprocesses. Then postgres was able to stop normally.
> After that, I restarted postgresql normally and it went into recovery
> mode for about 30 seconds. After that, it started to behave normally
> again.

Yeah, there's some danger in kill -9 to the postgres processes, but
I've had to killall -9 -f postgres once or twice in the distant past.
The -m immediate is the signal just this side of kill -9, forget the
name. You should be ok.

Definitely look into what's causing the oom killer to come out and
play, and look at turning off overcommit (I think the setting is 2 to
turn it off)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message kevin kempter 2008-06-21 13:06:35 function question
Previous Message John Cheng 2008-06-21 01:56:14 Re: System in Recovery Mode But No Activity