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 1gssJC-0003fi-UH for pgsql-hackers@arkaria.postgresql.org; Sun, 10 Feb 2019 16:50:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gssJ8-0005ue-PU for pgsql-hackers@arkaria.postgresql.org; Sun, 10 Feb 2019 16:50:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gssJ8-0005uX-Ex for pgsql-hackers@lists.postgresql.org; Sun, 10 Feb 2019 16:50:18 +0000 Received: from mail-it1-x141.google.com ([2607:f8b0:4864:20::141]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gssJ0-00080J-K7 for pgsql-hackers@lists.postgresql.org; Sun, 10 Feb 2019 16:50:16 +0000 Received: by mail-it1-x141.google.com with SMTP id h193so20576063ita.5 for ; Sun, 10 Feb 2019 08:50:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=6frmH61EzMuWzWn6vo4mTCT5vfRBeLZYEVsW7Q/VSAM=; b=NF6Dr8De77B8glrzwTbovnQ3l9x+Lxl12vA/P27i/cDm4NqEkaT27xTBKazQb+NZVU gytMcehesIE2F0tCM7vonylbtEB+t5cMnldVaqqdEC80YaqMI7rKjxCb496oniNMfkdn qaDuRQrWshfgEb0SKJ/KDfpvVtTRApUjrzTVF1xXOVtUFfwsXHkC5GdRobkL+oT4UHAv 7EFRRQ22qB2sA87dcAZ1ahW2xcLUgXFdoCsRZL5Zk/dzGDwj0VIpLVkZ5QGylafVBXCF MBz7A4o7Y/n96Ka//CIGS4BOoBdYwNOGpHiYeZxqkNCTQ0JXjfI5vyLpB54q9v7/GCEE i6lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=6frmH61EzMuWzWn6vo4mTCT5vfRBeLZYEVsW7Q/VSAM=; b=qorACpMKbCyAxZbrZZUIjLAswXd8BcXd6hEUfnELEB0XoqbwXlFuKXONo+scAr43hC Tvw46lIxC+UngiXnMLYTqPBCvdMMcn5E4YukAYxbgniDVsTIdmu6TVjT9we36RO2p9KL BFvS3lLGxmb2SY0SDlQZyhRzO28naGoOmCihvhYoW9l4TAaCFg4nB3RJaIAur9vRKYhB XYOWbSgr2FN+kACFcCDQUesGo8HHblzjZVPI9r6bpTRFEiKeFjy0hLgOox4gWyjgbnvI abxVmOxke3AboxUjn0Xj75gQtOduarqcYwY06J3huE8GODRPVdCVaImnlDXtsFjO3lAG KNng== X-Gm-Message-State: AHQUAubFG30tHjis/RqQFCB3L6NnBa/MLgUWQ+yYwIzjsw6Gumz95qUZ B0Q7ul3h/cBWNcL0rhIweGLKjQ== X-Google-Smtp-Source: AHgI3Ib6ju7M8k1C30TgpYJmiFS7tF+l/KZTJihmyPFFq8bHw50ESH7CyhMhKY64EnDlkiVqC8W1jA== X-Received: by 2002:a05:660c:a48:: with SMTP id j8mr3658067itl.26.1549817409603; Sun, 10 Feb 2019 08:50:09 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id v14sm3324703iol.61.2019.02.10.08.50.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Feb 2019 08:50:08 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id 5DF87800BD7; Sun, 10 Feb 2019 10:50:07 -0600 (CST) Date: Sun, 10 Feb 2019 10:50:07 -0600 From: Justin Pryzby To: Sergei Kornilov Cc: Robert Haas , Thomas Munro , Jakub Glapa , Fabio Isabettini , Arne Roland , Sand Stone , Rick Otten , PostgreSQL Hackers Subject: Re: dsa_allocate() faliure Message-ID: <20190210165007.GT31721@telsasoft.com> References: <20190206232110.GH29720@telsasoft.com> <20190210160035.GS31721@telsasoft.com> <14504121549815082@myt5-02b80404fd9e.qloud-c.yandex.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14504121549815082@myt5-02b80404fd9e.qloud-c.yandex.net> User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sun, Feb 10, 2019 at 07:11:22PM +0300, Sergei Kornilov wrote: > > I ran overnight with this patch, but all parallel processes ended up stuck in > > the style of bug#15585. So that's either not the root cause, or there's a 2nd > > issue. > > Maybe i missed something in this discussion, but you can reproduce bug#15585? How? With this testcase: https://www.postgresql.org/message-id/CAEepm%3D1MvOE-Sfv1chudx5KEmw_qHYrj8F9Og_WmdBRhXSQ%2B%2Bw%40mail.gmail.com ? By running the queued_alters query multiple times in a loop: https://www.postgresql.org/message-id/20181231221734.GB25379%40telsasoft.com I'm able to trigger dsa "ERROR"s with that query on a newly initdb cluster with only that table. But I think some servers are more likely to hit it than others. I've only tripped on 15585 twice, and only while trying to trigger other DSA bugs (the working hypothesis is that bug is 2ndary issue which happens after hitting some other bug). And not consistently or quickly. Justin