Re: Changing the default configuration

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: scott(dot)marlowe(at)ihs(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Changing the default configuration
Date: 2003-02-12 16:36:19
Message-ID: 1045067779.12931.258.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-hackers pgsql-performance

On Tue, 2003-02-11 at 21:00, Tatsuo Ishii wrote:
> >
> > while 200 may seem high, 32 definitely seems low. So, what IS a good
> > compromise? for this and ALL the other settings that should probably be a
> > bit higher. I'm guessing sort_mem or 4 or 8 meg hits the knee for most
> > folks, and the max fsm settings tom has suggested make sense.
>
> 32 is not too low if the kernel file descriptors is not
> increased. Beware that running out of the kernel file descriptors is a
> serious problem for the entire system, not only for PostgreSQL.
>

Had this happen at a previous employer, and it definitely is bad. I
believe we had to do a reboot to clear it up. And we saw the problem a
couple of times since the sys admin wasn't able to deduce what had
happened the first time we got it. IIRC the problem hit somewhere around
150 connections, so we ran with 128 max. I think this is a safe number
on most servers these days (running linux as least) though out of the
box I might be more inclined to limit it to 64. If you do hit a file
descriptor problem, *you are hosed*.

Robert Treat

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Andrew Sullivan 2003-02-12 16:39:41 Re: [HACKERS] Changing the default configuration (was Re:
Previous Message Ron Mayer 2003-02-12 12:35:16 Re: PostgreSQL Tuning Results

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Sullivan 2003-02-12 16:39:41 Re: [HACKERS] Changing the default configuration (was Re:
Previous Message Tom Lane 2003-02-12 16:30:36 Re: Q about InsertIndexResult

Browse pgsql-performance by date

  From Date Subject
Next Message Andrew Sullivan 2003-02-12 16:39:41 Re: [HACKERS] Changing the default configuration (was Re:
Previous Message Justin Clift 2003-02-12 11:51:56 Re: how to configure my new server