agora inbox for pgsql-hackers@postgresql.org
help / color / mirror / Atom feedFrom: Nathan Bossart <nathandbossart@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: Imseih (AWS), Sami <simseih@amazon.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: allow changing autovacuum_max_workers without restarting
Date: Mon, 6 Jan 2025 15:50:24 -0600
Message-ID: <Z3xQIPX3aeri4DiT@nathan> (raw)
In-Reply-To: <1346002.1736198977@sss.pgh.pa.us>
References: <Znc3R8nkAx9et-t_@nathan>
<Zow-DBaDY2IzAzA2@nathan>
<Zpq9dx37tdUkV42U@nathan>
<ZqVZSQlgpmy6MM5X@nathan>
<ZsY96PvqkoJaC2Y-@nathan>
<ZzzMcv0lAdY4OzGi@nathan>
<Z2XJjI8fO8ksOv4E@nathan>
<Z3v8UFk0sOgFgWeZ@nathan>
<Z3xFE7DQTSRJw2FM@nathan>
<1346002.1736198977@sss.pgh.pa.us>
On Mon, Jan 06, 2025 at 04:29:37PM -0500, Tom Lane wrote:
> Unsurprisingly, this has completely broken buildfarm member sawshark:
> you added 13 new semaphores to the system's default requirements,
> and we only had headroom for about 4 (cf. 38da05346).
Oh wow, I missed that the defaults were so low on some systems.
> Now maybe we should just abandon the notion that we ought to be
> able to start up under OpenBSD/NetBSD's tiny default value of SEMMNS.
> If so I'd be inclined to go revert 38da05346, at least in HEAD.
> But I kind of wonder whether this feature actually brings value
> commensurate with causing installation problems on real-world OSes.
I'm obviously biased, but I think it would be unfortunate to block features
like this one because of low settings that would otherwise be unsuitable
for any reasonable production workload. If we do want to at least support
check-world on these systems, another option could be to simply lower the
default of autovacuum_worker_slots to 7 (or maybe lower). Of course, that
only helps until the next time more semaphores are required, but that's not
a new problem.
--
nathan
view thread (71+ messages) latest in thread
Message-ID: <Z3xQIPX3aeri4DiT@nathan>
Permalink: ../Z3xQIPX3aeri4DiT@nathan/
Also on: postgresql.org/message-id/Z3xQIPX3aeri4DiT@nathan
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: nathandbossart@gmail.com, tgl@sss.pgh.pa.us, andres@anarazel.de, simseih@amazon.com, pryzby@telsasoft.com
Subject: Re: allow changing autovacuum_max_workers without restarting
In-Reply-To: <Z3xQIPX3aeri4DiT@nathan>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox