Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZleN-0001mO-FQ for pgsql-hackers@arkaria.postgresql.org; Thu, 31 Mar 2022 03:39:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nZleL-0003LH-Np for pgsql-hackers@arkaria.postgresql.org; Thu, 31 Mar 2022 03:39:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZlbI-0006rM-BW for pgsql-hackers@lists.postgresql.org; Thu, 31 Mar 2022 03:35:56 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZlbG-0006vc-3y for pgsql-hackers@lists.postgresql.org; Thu, 31 Mar 2022 03:35:55 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 712C15C0186; Wed, 30 Mar 2022 23:35:53 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 30 Mar 2022 23:35:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; bh=3jIHZXHbnQz2kdaGlqFevYj7O8PEczYqZm9dFN ZJP9s=; b=qVi8pCNKGN/LZOsrkHqBjzjcxKYiyYeaeX5qKZiGqKHMptwESzHjht CEQgcb45rfG+9Ump1vfj53Bnvrf6ti56+Ri7ocH/0A5QhBRX1pRZcauchlaT96xs PufjEUuj/8yYWfgEAgKEFhPHAmxCqqXIWYbLnerHQJiYIj4Xqi6d5dRJiB6iC7wt T+otaNc+RN8WSFWMsjGmv4+YhXllavON6ybtWE+bn0h4sULw3GdXHfi9mK6/9JfV qUlqaWxoKLQCM8hcc9Xxigf3em5QNOhnDqcDRCYA9AWpi+Kqt4pOserGCO0ozUNn 1ah5C6Fw/JYjWTrgXknBmMS/MQpEFYsw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=3jIHZXHbnQz2kdaGl qFevYj7O8PEczYqZm9dFNZJP9s=; b=kZBs9EfTQS3p9HuWOVICuwmXhTcoViONU sHb6+HY5qbCsir7TvrS3AfBTV8QL2BhnPJ94GlXuSIZaaND2PV/05/2dGxQophUr WVWQRuIlDgeJyZwf6xKBIiPx2hBEpRRaotmi1T+5Sk2pBqKq3ydGMo2al5kweg6N kqBLSX4fcPtNxyTXvgwSk3LCWcjR6+7O2Gx29yWFk68wsUci9qX7LhCyUyFqu921 FgkFIqgRQwiFShmw2KrVsjoVOkivp2uWJ1kLk2Lp6OJq4FWqF5n4Ovn71iY+XzSG cpqEHmIje/cZaoq7NtNaUjl1rBK9lTjpIzkMolVgYzKFvqDji/8/Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeifedgieekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrg htthgvrhhnpedukefhkeelueegveetheelffffjeegleeuudelfeefuedtleffueejfffh ueffudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 30 Mar 2022 23:35:52 -0400 (EDT) Date: Wed, 30 Mar 2022 20:35:51 -0700 From: Andres Freund To: Peter Geoghegan Cc: Justin Pryzby , Robert Haas , Thomas Munro , Masahiko Sawada , PostgreSQL Hackers Subject: Re: Removing more vacuumlazy.c special cases, relfrozenxid optimizations Message-ID: <20220331033551.eyucroo6fncdo77w@alap3.anarazel.de> References: <20220330061041.GE28503@telsasoft.com> <20220331020018.qht46hbua4gztmdf@alap3.anarazel.de> <20220331032844.j7wu5ijjpx3qay5c@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220331032844.j7wu5ijjpx3qay5c@alap3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-03-30 20:28:44 -0700, Andres Freund wrote: > I was able to trigger the crash. > > cat ~/tmp/pgbench-createdb.sql > CREATE DATABASE pgb_:client_id; > DROP DATABASE pgb_:client_id; > > pgbench -n -P1 -c 10 -j10 -T100 -f ~/tmp/pgbench-createdb.sql > > while I was also running > > for i in $(seq 1 100); do echo iteration $i; make -Otarget -C contrib/ -s installcheck -j48 -s prove_installcheck=true USE_MODULE_DB=1 > /tmp/ci-$i.log 2>&1; done > > I triggered twice now, but it took a while longer the second time. Forgot to say how postgres was started. Via my usual devenv script, which results in: + /home/andres/build/postgres/dev-assert/vpath/src/backend/postgres -c hba_file=/home/andres/tmp/pgdev/pg_hba.conf -D /srv/dev/pgdev-dev/ -p 5440 -c shared_buffers=2GB -c wal_level=hot_standby -c max_wal_senders=10 -c track_io_timing=on -c restart_after_crash=false -c max_prepared_transactions=20 -c log_checkpoints=on -c min_wal_size=48MB -c max_wal_size=150GB -c 'cluster_name=dev assert' -c ssl_cert_file=/home/andres/tmp/pgdev/ssl-cert-snakeoil.pem -c ssl_key_file=/home/andres/tmp/pgdev/ssl-cert-snakeoil.key -c 'log_line_prefix=%m [%p][%b][%v:%x][%a] ' -c shared_buffers=16MB -c log_min_messages=debug1 -c log_connections=on -c allow_in_place_tablespaces=1 -c log_autovacuum_min_duration=0 -c log_lock_waits=true -c autovacuum_naptime=10s -c fsync=off Greetings, Andres Freund