Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tUuzX-003pIN-Sk for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Jan 2025 21:50:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tUuzX-00Dh5S-6o for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Jan 2025 21:50:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tUuzW-00Dh5I-SU for pgsql-hackers@lists.postgresql.org; Mon, 06 Jan 2025 21:50:30 +0000 Received: from mail-yb1-xb29.google.com ([2607:f8b0:4864:20::b29]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tUuzT-000EVL-1z for pgsql-hackers@postgresql.org; Mon, 06 Jan 2025 21:50:30 +0000 Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-e3983426f80so20620459276.1 for ; Mon, 06 Jan 2025 13:50:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736200226; x=1736805026; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=BwT/RuFU00+kzNRqCneAyA6WwvfJWFu7QgZLorLfZvk=; b=KIDMgC7HpqRq+5VJtt0UVrGDqaXXvZfxNG5xE4PelpuKZHeLnIV5clnKepwcWsBYRx C1199c9b1WoU9e8PA74G4l/o2W+GviyQpc76kYg0OMvasK3Ap+HlJkzZ1X655+m6nWiR JbQkFe5cFaVEv4JsAZkL5/gcLxwJKs+y6LP2hA7l7oNMTRYpcccf3Q/uhlHfFsxmYJY2 sQBegHBIEVpMwlqPFko/s+2WvmLN1NIi9jO7Gmyygvct7D1NP6WNqE6yhcoNJ6gdUtpp siR63I9FiIcfsCHWef4FiFV1j49wQKtk95VC447pv51rAtrGNWE4bE48lrpFT3TM2MDX FvVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736200226; x=1736805026; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BwT/RuFU00+kzNRqCneAyA6WwvfJWFu7QgZLorLfZvk=; b=cYz77IYiUqA8UFTa9fnwf94so48/OJfxs17+2n69RROULlZEQHKb7QPlSDsuB+ekNj g0VIDztfxSWEtNxxN64NCSynD9At+hqHdtE5bSxtqZ7N7u0vgPoH1NPiTZ4bJplvsv9X ewo6vDHhUtulEQYLN2L4Z8Vt++2jo+jxRTxAw9SlsjnRjmPJXCDOcCUZZwSG9G8qhBO2 ++3dfC2VM1ZU88dAg5AfaYud60YFXNAuOjW1GIntA19RK82njD221YMHXnnuEIetvdzi /RVchlSsQAhlq+td9g6C/0fNdMwLEMDB/4BeZmQCDA4U9vKLczn3NEqrYt9aJHWqUQwC uMRw== X-Forwarded-Encrypted: i=1; AJvYcCVPeiexyl6qIZS54YQ0iFqxIjpIMpr/VvbvaoS684RA9y1+DGuoMZNHwrGTLJf4EPv6MhIV+7rNHK7GreVG@postgresql.org X-Gm-Message-State: AOJu0YyBvZj+a7TL9ERjCtyHzgANBM31l+ax4CcRqaFcs+ZduxsF+J2R 23PoHOzy/1fLPAccT7A4U1gPBnHi2J31ebHwZO38XpX0k7q+A5Uv X-Gm-Gg: ASbGncvj+hJ0X386TEmNkN2Yky9RyVQKGK9NsqWFtmchlJkw2xTiyZxFIoXZb/0oQRo 7LlZPohmdM9DaWkzpSC1/SEUFi/CBwum5EyJz+fcSiS32fgZmlptDTIfmsZ0BZt5tYWdik/NiTZ MMB4WPN+vf8E5/+g1quuZNocBSJOesTf+hmyJfO3rhNIGnjyr5mY0DZXKhoJaHUlklkrUvYkm7F LI5kmfEZfQTrXuTg9EuVczTaLYLFrfVnU4ERwgLW6vcRW5nBFbzFU/MIcyqO+tqhHkGX/VhLIZ1 cnC7c/P5JL3rQWBc7KUU++m+dAtMaUhSG7N7hEbvkIXpduM= X-Google-Smtp-Source: AGHT+IHeIU+AtmWqmiEWdvPaNPbGnB6kIe1PsMGcap+/zDxX0+AvS9w2A3qd+ZNiWuQwJQRmTzL4qw== X-Received: by 2002:a05:690c:7447:b0:6ef:5119:fc48 with SMTP id 00721157ae682-6f3f8215e15mr460982467b3.26.1736200226610; Mon, 06 Jan 2025 13:50:26 -0800 (PST) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6f3e7836ed7sm87210127b3.102.2025.01.06.13.50.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 13:50:26 -0800 (PST) Date: Mon, 6 Jan 2025 15:50:24 -0600 From: Nathan Bossart To: Tom Lane Cc: Andres Freund , "Imseih (AWS), Sami" , Justin Pryzby , "pgsql-hackers@postgresql.org" Subject: Re: allow changing autovacuum_max_workers without restarting Message-ID: References: <1346002.1736198977@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1346002.1736198977@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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