Re: How to simulate crashes of PostgreSQL? - Mailing list pgsql-general

From Tom Lane
Subject Re: How to simulate crashes of PostgreSQL?
Date
Msg-id 2051.1251223636@sss.pgh.pa.us
Whole thread Raw
In response to Re: How to simulate crashes of PostgreSQL?  (Vick Khera <vivek@khera.org>)
Responses Re: How to simulate crashes of PostgreSQL?
List pgsql-general
Vick Khera <vivek@khera.org> writes:
> On Tue, Aug 25, 2009 at 1:09 PM, Alvaro
> Herrera<alvherre@commandprompt.com> wrote:
>> 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.

> From my syslog:
> Aug 21 15:11:13 d01 postgres[12037]: [156-1] PANIC:  could not open
> file "pg_xlog/00000001000013E300000014" (log file 5091, segment 20):
> Too many open files in system

This is probably coming from walwriter, which might not have very much
of a cushion of "extra" open files to close.

            regards, tom lane

pgsql-general by date:

Previous
From: Vick Khera
Date:
Subject: Re: How to simulate crashes of PostgreSQL?
Next
From: Marcus Engene
Date:
Subject: Re: somewhat slow query with subselect