Re: bgwriter_lru_multiplier maximum value

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: chris+postgresql(at)qwirx(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: bgwriter_lru_multiplier maximum value
Date: 2019-04-01 13:18:09
Message-ID: 20190401131809.GD16093@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Mon, Apr 01, 2019 at 10:27:13AM +0000, PG Doc comments form wrote:
> The server has an undocumented maximum value of 10 for
> bgwriter_lru_multiplier, and will fail to start if it's set higher than
> this:
>
> LOG: 20 is outside the valid range for parameter "bgwriter_lru_multiplier"
> (0 .. 10)
> FATAL: configuration file "/.../pgdata/postgresql.conf" contains errors

I would suggest something like that:
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -2050,7 +2050,8 @@ include_dir 'conf.d'
Larger values provide some cushion against spikes in demand,
while smaller values intentionally leave writes to be done by
server processes.
- The default is 2.0.
+ The default is 2.0. The value can range from <literal>2.0</literal>
+ to <literal>10.0</literal>
This parameter can only be set in the <filename>postgresql.conf</filename>
file or on the server command line.
</para>

Any opinions from others?
--
Michael

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2019-04-01 13:22:56 Re: bgwriter_lru_multiplier maximum value
Previous Message Peter Eisentraut 2019-04-01 12:22:43 Re: Responsive images in pgweb docs