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 1myMGo-0003tq-NO for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Dec 2021 23:04:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1myMGm-0002zs-PG for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Dec 2021 23:04:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1myMGm-0002zh-4b for pgsql-hackers@lists.postgresql.org; Fri, 17 Dec 2021 23:04:08 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1myMGi-0003Cg-0t for pgsql-hackers@postgresql.org; Fri, 17 Dec 2021 23:04:07 +0000 Received: by mail-ed1-x532.google.com with SMTP id g14so13402588edb.8 for ; Fri, 17 Dec 2021 15:04:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=EaJE6LdPv0SQEabIVsIb+LHLzBZjmnLfXQ4iplYeL4E=; b=N/PhOOKrO88Jnb9a1lPn3J13Pjxq+hYjdIy2l/XqVZqhERlryQ6/TIR2Nqo7V3uq5d 4dgGCSceNlAukfNyoTlEVnAhxVeYF9azh1ays6rnenufLHJqi7Zs7plqTCpYZcThaVfv 00l4cWLrI137UDoX73DW3LFsjoKE/Cvnzs0qSL8/JuveT9qZBxfDFBikdlZGBtDlVV8E hKH3WZ4y69/8in988Wa+jsPiSx5EdtyFhR9c8Z9KmHG/2uqPAg2eilgB0luw06tCacNV yxZTeBHV+A1KiDHqNjKGvREF3/Jis9DLG9lTlKZeQ5/DQpK0LfuxT5UuY+yRKoQZUAg1 zW8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=EaJE6LdPv0SQEabIVsIb+LHLzBZjmnLfXQ4iplYeL4E=; b=Prt+JingwRIvpQSmBWx32rwUazaD7NoO/xDuOqTHOVuRbEvISSDXcUh1HQoT6C1K3Q 6id7vDItylTonaeSKIYKafZ4AdWP/zBS4F3kp6x85LPhy5mwklS19fuRbpEjswgOHdr0 nxgDATv2c1a2fq90liwTrfFOIYJp9WwloSqmvHnszexoDdxv76PrWc+f0rE60MSLg6nE 11DY+uO7/4fe139IaMFwgRf6Jr8QPtUEb6afSwkxXEF1EpDJnP4WEP4NiCERDxUfezrJ p9GQ277gMGmQpbtory1rFpaQYhG/FfA7c2Ur3kKTcpf/Zh2pmMx8idCd8oYbJuZMxNFC PwZg== X-Gm-Message-State: AOAM530xZ4SH7IK0I1RlUdjZgUJb8dH60VDtKvkti9Za8d9FxfT6ba3d v90PonzVZwVs4fYF1E8YqIgn133RXEjvsxDL7Eah2nW8xophZBahLEbcRr55IWH6yNA+jp9N3iG Hq6a5rusoYMHnLtt3lzDF5Klzfl12w4r2BoRnKHUFofUhjU70NF4Wblm4Esomm/ekOkgv51lN/+ wYdXvl8Dz4sDwXvjBp0NGP3rF2FVNVMWXytuVj X-Google-Smtp-Source: ABdhPJx4FsS/ghS42lRafKCjtQuwL6RZxNrWQY+m0+vZRPH0nIkptxqdGjrrua30sEOMiF8YMTM3rg== X-Received: by 2002:a17:907:94ce:: with SMTP id dn14mr4043545ejc.85.1639782242043; Fri, 17 Dec 2021 15:04:02 -0800 (PST) Received: from [10.137.0.18] (ip-86-49-251-241.net.upcbroadband.cz. [86.49.251.241]) by smtp.gmail.com with ESMTPSA id p7sm4016046edu.84.2021.12.17.15.04.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Dec 2021 15:04:01 -0800 (PST) Message-ID: <2cdffbfc-9e9b-c1e4-91e4-92b6baa80fe7@enterprisedb.com> Date: Sat, 18 Dec 2021 00:04:00 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: WIP: WAL prefetch (another approach) Content-Language: en-US To: Greg Stark , Tom Lane Cc: Thomas Munro , Daniel Gustafsson , Stephen Frost , Alvaro Herrera , Andres Freund , David Steele , Dmitry Dolgov <9erthalion6@gmail.com>, Jakub Wartak , Tomas Vondra , pgsql-hackers References: <5B6070FF-5869-4A84-88BC-2D04EDCDB858@yesql.se> <477464.1637981215@sss.pgh.pa.us> <1370655.1639767599@sss.pgh.pa.us> <1374737.1639770826@sss.pgh.pa.us> From: Tomas Vondra In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/17/21 23:56, Greg Stark wrote: > Hm. I seem to have picked a bad checkout. I took the last one before > the revert (45aa88fe1d4028ea50ba7d26d390223b6ef78acc). Or there's some > incompatibility with the emulation and the IPC stuff parallel workers > use. > > > 2021-12-17 17:51:51.688 EST [50955] LOG: background worker "parallel > worker" (PID 54073) was terminated by signal 10: Bus error > 2021-12-17 17:51:51.688 EST [50955] DETAIL: Failed process was > running: SELECT variance(unique1::int4), sum(unique1::int8), > regr_count(unique1::float8, unique1::float8) > FROM (SELECT * FROM tenk1 > UNION ALL SELECT * FROM tenk1 > UNION ALL SELECT * FROM tenk1 > UNION ALL SELECT * FROM tenk1) u; > 2021-12-17 17:51:51.690 EST [50955] LOG: terminating any other active > server processes > 2021-12-17 17:51:51.748 EST [54078] FATAL: the database system is in > recovery mode > 2021-12-17 17:51:51.761 EST [50955] LOG: all server processes > terminated; reinitializing > Interesting. In my experience SIGBUS on PPC tends to be due to incorrect alignment, but I'm not sure how that works with the emulation. Can you get a backtrace? regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company