Re: How to simulate crashes of PostgreSQL?

From: Vick Khera <vivek(at)khera(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to simulate crashes of PostgreSQL?
Date: 2009-08-25 15:22:47
Message-ID: 2968dfd60908250822l4f18ca08v6dc41bd4b4ac6ff4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Aug 22, 2009 at 6:55 PM, Greg Sabino Mullane<greg(at)turnstep(dot)com> wrote:
> A server crash is a pretty rare event in the Postgres world, so I
> would not spend too many cycles on this...
>

I had one the other day caused by server resource issues: I ran out of
file descriptors when I had a very large surge in activity. Pg
rightfully panicked and disconnected all my clients.

Only the well written ones recovered automagically. I had to restart a
handful of services :-( It is wise to put the effort to testing your
client recovery strategy does work.

I must say that I haven't had a Postgres crash due to Postgres bug
since version 7.2 or so.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tino Wildenhain 2009-08-25 15:28:46 Re: R: Field's position in Table
Previous Message Rob Napier 2009-08-25 14:58:00 once:radix version 1.5 released