Re: How to simulate crashes of PostgreSQL?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: How to simulate crashes of PostgreSQL?
Дата
Msg-id 20090825170934.GB12604@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: How to simulate crashes of PostgreSQL?  (Vick Khera <vivek@khera.org>)
Ответы Re: How to simulate crashes of PostgreSQL?
Список pgsql-general
Vick Khera wrote:
> On Sat, Aug 22, 2009 at 6:55 PM, Greg Sabino Mullane<greg@turnstep.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.

PG is not supposed to crash when it runs out of file descriptors.  In
fact there's a whole abstraction layer to ensure this does not happen.
What you saw was either misconfiguration or a bug somewhere (for example
maybe you have untrusted functions that try to open files?)

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Invalid memory alloc request
Следующее
От: Vick Khera
Дата:
Сообщение: Re: How to simulate crashes of PostgreSQL?