Re: default resource limits - Mailing list pgsql-hackers

From Tom Lane
Subject Re: default resource limits
Date
Msg-id 1779.1134399981@sss.pgh.pa.us
Whole thread Raw
In response to default resource limits  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: default resource limits
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Nearly everyone seems to agree that the default for max_fsm_pages is 
> woefully low, so I would like to have the default for this set 
> unconditionally to 200,000 rather than 20,000. The cost would be just 
> over 1Mb of shared memory, if the docs are correct. Alternatively, we 
> could put this into the mix that is calculated by initdb, scaling it 
> linearly with shared_buffers (but with the default still at 200,000).

> I would also like to propose a more modest increase in max_connections 
> and shared_buffers by a factor of 3.

I don't mind having initdb try larger values to see if they work, but
if you are suggesting that we try to force adoption of larger settings
I'll resist it.

"Factor of three" seems mighty weird.  The existing numbers (100 and 1000)
at least have the defensibility of being round.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Different length lines in COPY CSV
Next
From: Bruce Momjian
Date:
Subject: Re: Backslashes in string literals