On Mon, 2002-10-21 at 12:26, Olivier PRENANT wrote:
> On Mon, 21 Oct 2002, Tom Lane wrote:
>
> > Date: Mon, 21 Oct 2002 12:52:10 -0400
> > From: Tom Lane <tgl@sss.pgh.pa.us>
> > To: ohp@pyrenet.fr
> > Cc: pgsql-hackers list <pgsql-hackers@postgresql.org>
> > Subject: Re: [HACKERS] Please help
> >
> > Olivier PRENANT <ohp@pyrenet.fr> writes:
> > > pyrenet=# VACUUM ANALYZE ;
> > > FATAL 2: could not open transaction-commit log directory (/usr/local/pgsql/data/pg_clog): Too many open files
> >
> > Hmm. Do you have any idea what sysconf(_SC_OPEN_MAX) returns on your
> > platform? You could try reducing the max_files_per_process parameter.
> The point is, it occurs today for the very first time!
> Question: does (with 7.2) augmenting max_connection suffice, or do I have
> to recompile?
You might need to up the Shared Memory parameters and the Semaphore
Parameters in your OS (UnixWare IIRC).
>
> That's the only thing that comes to my mind! I changed max_coneections
> (and related parameters) in postgresql.conf only...
>
> I say that, because I tried to change socket_directory in postgresql.conf
> and clients didn't work anymore
See above.
> >
> > regards, tom lane
> >
>
> --
> Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
> Quartier d'Harraud Turrou +33-5-61-50-97-01 (Fax)
> 31190 AUTERIVE +33-6-07-63-80-64 (GSM)
> FRANCE Email: ohp@pyrenet.fr
> ------------------------------------------------------------------------------
> Make your life a dream, make your dream a reality. (St Exupery)
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749