Re: Warning: Don't delete those /tmp/.PGSQL.* files

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: GH <grasshacker(at)over-yonder(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Warning: Don't delete those /tmp/.PGSQL.* files
Date: 2000-11-25 23:40:12
Message-ID: 27358.975195612@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

GH <grasshacker(at)over-yonder(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2000-11-26 00:28:14 Re: Re: [GENERAL] Warning: Don't delete those /tmp/.PGSQL.* files
Previous Message Tom Lane 2000-11-25 23:10:40 Re: Re: [GENERAL] Warning: Don't delete those /tmp/.PGSQL.* files

Browse pgsql-hackers by date

  From Date Subject
Next Message Ron Chmara 2000-11-26 00:26:42 Re: [NOVICE] Re: re : PHP and persistent connections
Previous Message Peter Eisentraut 2000-11-25 23:23:55 Re: tcl/FreeBSD 4.2-STABLE, multiple TCL versions installed