Re: System in Recovery Mode But No Activity - Mailing list pgsql-general

From Scott Marlowe
Subject Re: System in Recovery Mode But No Activity
Date
Msg-id dcc563d10806201834w787b9d3ch86c846f674305a51@mail.gmail.com
Whole thread Raw
In response to System in Recovery Mode But No Activity  ("John Cheng" <chonger.cheng@gmail.com>)
Responses Re: System in Recovery Mode But No Activity  ("John Cheng" <chonger.cheng@gmail.com>)
List pgsql-general
On Fri, Jun 20, 2008 at 7:12 PM, John Cheng <chonger.cheng@gmail.com> wrote:
> We had a run away process on our database box that used up all the
> physical and all the virtual memory (swap). This caused the RedHat
> Linux oom-killer to kill many processes, including some Postgres ones.
> Postgres went into a funky state after that time:

SNIP

> I think the fact that a process used up all the available memory
> (physical and virtual) caused Postgres to go into a weird state. Now
> it will not respond to kill, or pg_ctl for shutdown. Would the right
> thing to do be using kill -9 to stop the server?

When you say it won't respond to pg_ctl for shutdown, have you tried
the three options for the -m switch in order?  Are you running a
pretty recent pg version?  Which one?

pgsql-general by date:

Previous
From: "John Cheng"
Date:
Subject: System in Recovery Mode But No Activity
Next
From: "John Cheng"
Date:
Subject: Re: System in Recovery Mode But No Activity