pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Olivier Hubaut <olivier@scmbb.ulb.ac.be>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PgSQL Admin <pgsql-admin@postgresql.org>
Subject: Re: ANALYZE crashes randomly
Date: Fri, 20 Feb 2004 12:14:31 +0100
Message-ID: <4035EC17.10607@scmbb.ulb.ac.be> (raw)
In-Reply-To: <1732.1077201014@sss.pgh.pa.us>
References: <40349522.8090401@scmbb.ulb.ac.be>
	<1732.1077201014@sss.pgh.pa.us>

Tom Lane wrote:

> Olivier Hubaut <olivier@scmbb.ulb.ac.be> writes:
> 
>>PANIC:  could not open transaction-commit log directory 
>>(/usr/local/pgsql/annot/pg_clog): Too many open files
> 
> 
> Try reducing max_files_per_process (in postgresql.conf) and/or
> increasing the kernel's limit on number of open files (I think
> you set this via sysctl in /etc/rc, but it may vary depending on
> OS X version).
> 
> 			regards, tom lane
> 

Thank you, it works fine by reducing the max_files_per_process to 200 
(instead of the default '1000' value).

But it's amazing to me that i had to reduce it so much as the postmaster 
is almost the only application running on this server. There only 3 or 4 
simultaneous connections and the kernel max files is set to 12500!

Is that comportement normal or not?

-- 
Signature en cours de maintenance,
Veuillez patienter...



view thread (6+ messages)  latest in thread

Message-ID: <4035EC17.10607@scmbb.ulb.ac.be>
Permalink:  ../4035EC17.10607@scmbb.ulb.ac.be/
Also on:    postgresql.org/message-id/4035EC17.10607@scmbb.ulb.ac.be

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: olivier@scmbb.ulb.ac.be, tgl@sss.pgh.pa.us
  Subject: Re: ANALYZE crashes randomly
  In-Reply-To: <4035EC17.10607@scmbb.ulb.ac.be>
  References: <40349522.8090401@scmbb.ulb.ac.be> <1732.1077201014@sss.pgh.pa.us> <4035EC17.10607@scmbb.ulb.ac.be>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox