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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

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