Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iJ0Ki-0008AK-1M for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Oct 2019 19:12:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iJ0Kf-0005Jq-O7 for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Oct 2019 19:12:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iJ0Kf-0005JY-FJ for pgsql-hackers@lists.postgresql.org; Fri, 11 Oct 2019 19:12:09 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iJ0KZ-00081D-7K for pgsql-hackers@postgresql.org; Fri, 11 Oct 2019 19:12:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x9BJBvoD015559; Fri, 11 Oct 2019 15:11:57 -0400 From: Tom Lane To: Andrew Dunstan cc: mark@2ndquadrant.com, Thomas Munro , Justin Pryzby , Andres Freund , pgsql-hackers Subject: Re: stress test for parallel workers In-reply-to: References: <20190723162703.GM22387@telsasoft.com> <6762.1563902927@sss.pgh.pa.us> <20190723174222.GO22387@telsasoft.com> <32179.1563919918@sss.pgh.pa.us> <17389.1563945314@sss.pgh.pa.us> <31032.1565152159@sss.pgh.pa.us> <18537.1570421268@sss.pgh.pa.us> <5350.1570743291@sss.pgh.pa.us> <84813a30-8c34-9c32-7ad5-90d9eefba468@2ndQuadrant.com> <06d6be5a-7af2-ef78-0abc-6bfe500ead87@2ndQuadrant.com> <20032.1570808731@sss.pgh.pa.us> Comments: In-reply-to Andrew Dunstan message dated "Fri, 11 Oct 2019 14:04:41 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15557.1570821117.1@sss.pgh.pa.us> Date: Fri, 11 Oct 2019 15:11:57 -0400 Message-ID: <15558.1570821117@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andrew Dunstan writes: > On 10/11/19 11:45 AM, Tom Lane wrote: >> FWIW, I'm not excited about that as a permanent solution. It requires >> root privilege, and it affects the whole machine not only the buildfarm, >> and making it persist across reboots is even more invasive. > OK, but I'm not keen to have to tussle with coredumpctl. Right now our > logic says: for every core file in the data directory try to get a > backtrace. Use of systemd-coredump means that gets blown out of the > water, and we no longer even have a simple test to see if our program > caused a core dump. I haven't played that much with this software, but it seems you can do "coredumpctl list " to find out what it has for a particular executable. You would likely need a time-based filter too (to avoid regurgitating previous runs' failures), but that seems do-able. regards, tom lane