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 1t8KHH-003SwV-Lb for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Nov 2024 14:11:27 +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 1t8KHE-00Do32-Ts for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Nov 2024 14:11:25 +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 1t8KHE-00Do1K-DN for pgsql-hackers@lists.postgresql.org; Tue, 05 Nov 2024 14:11:25 +0000 Received: from forwardcorp1d.mail.yandex.net ([178.154.239.200]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t8KHB-000KZc-2t for pgsql-hackers@postgresql.org; Tue, 05 Nov 2024 14:11:24 +0000 Received: from mail-nwsmtp-smtp-corp-main-66.iva.yp-c.yandex.net (mail-nwsmtp-smtp-corp-main-66.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:14:0:640:5ed3:0]) by forwardcorp1d.mail.yandex.net (Yandex) with ESMTPS id BA7F760A43; Tue, 5 Nov 2024 17:11:20 +0300 (MSK) Received: from smtpclient.apple (unknown [2a02:6b8:b081:b738::1:3b]) by mail-nwsmtp-smtp-corp-main-66.iva.yp-c.yandex.net (smtpcorp/Yandex) with ESMTPSA id HBhVjf4IiSw0-CeHg2cNW; Tue, 05 Nov 2024 17:11:20 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex-team.ru; s=default; t=1730815880; bh=8vl9/xG1YPku8x3urYxpAweKXynyuaX/bzw4A3TVilo=; h=Message-Id:To:Date:References:Cc:In-Reply-To:From:Subject; b=t+j1RgoNRZ2KkO9bnBPRuP+D+D5DMbV6eP14bKesHLNPX5g4LgCf4hVlBDPeEuDh8 rsggKFcnP/5W0EbKNccLezS/H6K6B5P96WoaccOjl40UiWOai0dZbliypisy3TJsQS ngVHi8fxGrQZY0CJU/AYe/LnqT5w8/R+wGSt096E= Authentication-Results: mail-nwsmtp-smtp-corp-main-66.iva.yp-c.yandex.net; dkim=pass header.i=@yandex-team.ru Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: Re: MultiXact\SLRU buffers configuration From: "Andrey M. Borodin" In-Reply-To: Date: Tue, 5 Nov 2024 19:11:07 +0500 Cc: Michael Paquier , Alvaro Herrera , vignesh C , Andrew Borodin , Yura Sokolov , Andres Freund , Thomas Munro , Gilles Darold , Alexander Korotkov , Daniel Gustafsson , Kyotaro Horiguchi , pgsql-hackers mailing list Content-Transfer-Encoding: quoted-printable Message-Id: References: <202408221436.o6girevg72sx@alvherre.pgsql> <68128C19-19C4-4F10-9393-AE570877BE18@yandex-team.ru> To: Thom Brown X-Mailer: Apple Mail (2.3776.700.51) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 1 Nov 2024, at 00:25, Thom Brown wrote: >=20 > Unfortunately I didn't gather much information when it was occuring, = and prioritised getting rid of the process blocking replay. I just = attached gdb to it, got a backtrace and then "print = ProcessInterrupts()". >=20 Currently I do not see how this wait can result in a deadlock. But I did observe standby in a pathological sequential scan encountering = recent multixact again and again (new each time). I hope this situation will be alleviated by recent cahnges - now there = is not a millisecond wait, but hopefully smaller amount of time. In v17 we also added injection point test which reproduces reading very = recent multixact. If there is a deadlock I hope buildfarm will show it = to us. Best regards, Andrey Borodin.=