Re: Regression tests fail on OpenBSD due to low semmns value

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Andrew Dunstan <andrew@dunslane.net>, Alexander Lakhin <exclusion@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2024-12-16T18:26:36Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2024-12-16 12:52:46 -0500, Tom Lane wrote:
>> * Why in the world is the default value of max_wal_senders 10?
>> I find it hard to believe that there are installations using
>> more than about 3, and even there you can bet they are changing
>> a lot of other parameters.

> I don't think it's that rare as logical replication also needs a walsender
> slot...  I think we're going to hurt far more users by lowering this than we'd
> help.

Hm, okay.  If we just twiddle SEMAS_PER_SET we can still have
max_connections = 25 with max_wal_senders = 10, so doing that
much seems free.

			regards, tom lane



Commits

  1. Try to avoid semaphore-related test failures on NetBSD/OpenBSD.