Re: Warning: Don't delete those /tmp/.PGSQL.* files - Mailing list pgsql-general

From Tom Lane
Subject Re: Warning: Don't delete those /tmp/.PGSQL.* files
Date
Msg-id 27358.975195612@sss.pgh.pa.us
Whole thread Raw
In response to Re: Warning: Don't delete those /tmp/.PGSQL.* files  (GH <grasshacker@over-yonder.net>)
Responses Re: Warning: Don't delete those /tmp/.PGSQL.* files  (GH <grasshacker@over-yonder.net>)
List pgsql-general
GH <grasshacker@over-yonder.net> writes:
> FATAL 1:  ReleaseLruFile: No open files available to be closed
> ............................................................pg_ctl:
> postmaster does not start up

> After that, all postgres processes die and the cycle begins again on
> subsequent attempts to start postgres.
> At one point I would receive some "Too many open files" (or similar)
> error with postgres holding more than 750 file descriptors -- almost
> entirely consisting of socket streams.
> What is the significance of "ReleaseLruFile" and how can I repair this?

> This is using FreeBSD 4.1-RELEASE and Postgres 7.0.2.

7.0.3 will probably help --- the message is coming out of some
inappropriate error recovery code that we fixed in 7.0.3.

The underlying problem, however, is that you are running out of kernel
file table slots (ENFILE or EMFILE error return from open()).  Not
enough info here to tell why that's happening.

            regards, tom lane

pgsql-general by date:

Previous
From: GH
Date:
Subject: Re: Warning: Don't delete those /tmp/.PGSQL.* files
Next
From: "rob"
Date:
Subject: Integrity Relationships