Skip site navigation (1) Skip section navigation (2)

Re: ANALYZE crashes randomly

From: Olivier Hubaut <olivier(at)scmbb(dot)ulb(dot)ac(dot)be>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PgSQL Admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: ANALYZE crashes randomly
Date: 2004-02-20 11:14:31
Message-ID: 4035EC17.10607@scmbb.ulb.ac.be (view raw or flat)
Thread:
Lists: pgsql-admin
Tom Lane wrote:

> Olivier Hubaut <olivier(at)scmbb(dot)ulb(dot)ac(dot)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...

In response to

Responses

pgsql-admin by date

Next:From: Andrew KornilovDate: 2004-02-20 11:58:47
Subject: problems with regressive tests on rh8.0
Previous:From: Dave EwartDate: 2004-02-20 10:56:07
Subject: Re: "DELETE FROM" protection

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group