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 1gqm5E-0003wx-14 for pgsql-performance@arkaria.postgresql.org; Mon, 04 Feb 2019 21:47:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gqm5C-0003Ba-LP for pgsql-performance@arkaria.postgresql.org; Mon, 04 Feb 2019 21:47:14 +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 1gqm5C-0003BT-70 for pgsql-performance@lists.postgresql.org; Mon, 04 Feb 2019 21:47:14 +0000 Received: from mail-it1-x133.google.com ([2607:f8b0:4864:20::133]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gqm59-000156-J7 for pgsql-performance@lists.postgresql.org; Mon, 04 Feb 2019 21:47:12 +0000 Received: by mail-it1-x133.google.com with SMTP id z20so3553406itc.3 for ; Mon, 04 Feb 2019 13:47:11 -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=0KpSm1XPDz/ZeSJsDPBYgLLpU2h59XhPUZNBVPZlB2E=; b=JYcJWR/JdRWotpfzSATLsSEB50NNXpfZW58u4tAvsvSYkoeiHkI9Bedga5BnfUWZSS 0xF4o+TzlUuMFewFmyBbZeG/v8H3nda2s8MpavYKMmbKsuikd41tTANTzlvsRBm4g4J9 VuRqlYHJ+KJHeJV9ppSMyLQlZhP5laTeDfRjD7VJ/bOMzi66Pds301Ee6AOYUzzm8gUl QZ7BsO55XaOL1t2YR5YTTQqsbQ2KgYpR41pBJIDdc9iSPTeuLHh5wZQzTzBEsiOI4HyB uN1iuoJ1+fBEUD5PvEIVIRfCS6xwzX5h73hYR61z2LvmMhMx7iAImcZNC7HjONrF78np jzzg== 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=0KpSm1XPDz/ZeSJsDPBYgLLpU2h59XhPUZNBVPZlB2E=; b=j2nKYtG1UMVi3eiXyFwSWW0UvvTsYfxvpyu+7WJ1nPANStCUJF/vfnqXIn8s9SPgjQ lS02dHm5ShcTo96GsthVmYemkm3Lk8VJReQLEeZIWf9/62mIAV/c3+ZDk4LEdNbHTUhE 7zhPrrW5wSwAokzghaAz79SiI77WwntlO733rrxAZUv3HCIhvS5k1/uyzR1EdVzaBdKY q23xh3AxitB6Tujp38K/KDuFUPHDtuspwXjJIaBg/p5Fppuf0XbFdK3PjFZMqAYw4Y1c kvqkgUNsWt7YjCnd33o6VIpY9Kq//kzRugGwsPv5GtWPXN+o9MNIqlWQfyf5x+1SK9TF CHsQ== X-Gm-Message-State: AHQUAubZL5GvManSEVwywbEpaHmgNGG4r6I0Z3jvTJL3sfKGzO+AZSbV yinEM8ZnhfhZTxynjtb+Nrbm7w== X-Google-Smtp-Source: AHgI3IbLKHCSFobG0bYDQdB/8KyPX9vUGl1xBKe9rgQMuWhe2KFbq4ZAbIePukWdAev60RdkNntFpQ== X-Received: by 2002:a6b:7a0a:: with SMTP id h10mr875004iom.114.1549316830049; Mon, 04 Feb 2019 13:47:10 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id y12sm486027ion.62.2019.02.04.13.47.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Feb 2019 13:47:09 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id 461348004CC; Mon, 4 Feb 2019 15:47:08 -0600 (CST) Date: Mon, 4 Feb 2019 15:47:08 -0600 From: Justin Pryzby To: Arne Roland Cc: Thomas Munro , pgsql-performance@lists.postgresql.org Subject: Re: dsa_allocate() faliure Message-ID: <20190204214708.GI29720@telsasoft.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Feb 04, 2019 at 08:31:47PM +0000, Arne Roland wrote: > I could take a backup and restore the relevant tables on a throwaway system. You are just suggesting to replace line 728 > elog(FATAL, > "dsa_allocate could not find %zu free pages", npages); > by > elog(PANIC, > "dsa_allocate could not find %zu free pages", npages); > correct? Just for my understanding: why would the shutdown of the whole instance create more helpful logging? You'd also start with pg_ctl -c, which would allow it to dump core, which could be inspected with GDB to show a backtrace and other internals, which up to now nobody (including myself) has been able to provide. Justin