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 1gugU3-0000do-Ac for pgsql-general@arkaria.postgresql.org; Fri, 15 Feb 2019 16:37:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gugU1-0004MP-Ri for pgsql-general@arkaria.postgresql.org; Fri, 15 Feb 2019 16:37:01 +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 1gugU1-0004EP-E8 for pgsql-general@lists.postgresql.org; Fri, 15 Feb 2019 16:37:01 +0000 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gugTy-0004vD-Nk for pgsql-general@lists.postgresql.org; Fri, 15 Feb 2019 16:37:00 +0000 Received: by mail-qk1-x741.google.com with SMTP id r21so6018214qkl.11 for ; Fri, 15 Feb 2019 08:36:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=K9V8Uzl3O26UOU9+6lhx7J8kpzCiQrNqKU6C6RdcuqI=; b=n/owK+MBPXcAYzg8nSBUAnz9ZDUJlRwP2/+TZXvYxTw1n+2+7/Ute90+DJnuQQVD63 Pv9eWby2SLy+SdqV5Usj2P4M2eVag6XkwT9jF/tg7sehrx1swwuWSPNFGSlTLwckn6Ql j6Vz4AiX7K9sAqz3lf2EZPA2BkVa8SFO8KyPadItu8vM/903J7qTW9Sk0PWmPDgkA11Y GNJlWLUF1hndYEXmkeM32Ou4uGUNkZboWJEhsmLDPEoEJAzq1wP4Mwm6EiZBoluwia6k 0wmSgu0pgxdwS9t3/ZvlJtRRU21hSclWf7+OuJIsxKMAISxSfflhvL4r66342jB4HKCl WqLw== 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:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=K9V8Uzl3O26UOU9+6lhx7J8kpzCiQrNqKU6C6RdcuqI=; b=g4lNY9slV4mkMX0CtT4ZIe8B340TDtQei+cOooaPxmpyoHDup42+EoNfYVSKgviOMg LWIuGlL4Y4gslusvzC0mxTG9bkXfE/j49VtYdeYxRW1Dihx4AhJU+96TrrgxDZuAS1O9 b4+UTai36dfrTlJlUOZyVmTPmIb8f79mzjm5w8Qi+0+tULTfa08N8Xri4gtkxdWsOVIv aHCxM7rnK/H9DhbmMGHAGAIhkn/60/rFiBXVajcBclLChYknbt8HFkxeSoHwlbJ6T1xe UZE7nJ6i8nR/KqhRXKvOMvvNPUf/JVWUuyi++P98hh1L0S/Y+NYKnBCtRvJL7d702xEa 17Vg== X-Gm-Message-State: AHQUAuZpoT13DFE0aVRj3zHS6YtGPog09zX4HL3dS1WwrKlTe6+yPWNa 2oCv4VUwcANbYuW3XnuU9NfVhQ== X-Google-Smtp-Source: AHgI3IZUxt//xKOFLcI43MDAeI+iAsX9YFcg+CTNRDjAdiFEyy+B+L94GAiHQdyfv5O7368PrGj+QQ== X-Received: by 2002:a37:59c4:: with SMTP id n187mr7889449qkb.156.1550248617327; Fri, 15 Feb 2019 08:36:57 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id s15sm3189470qte.30.2019.02.15.08.36.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Feb 2019 08:36:56 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 17687120FB9; Fri, 15 Feb 2019 13:36:55 -0300 (-03) Date: Fri, 15 Feb 2019 13:36:55 -0300 From: Alvaro Herrera To: Jeremy Finzel Cc: PostgreSQL General Subject: Re: Size estimation of postgres core files Message-ID: <20190215163655.GA16325@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Feb-15, Jeremy Finzel wrote: > I am trying to determine the upper size limit of a core file generated for > any given cluster. Is it feasible that it could actually be the entire > size of the system memory + shared buffers (i.e. really huge)? In Linux, yes. Not sure about other OSes. You can turn off the dumping of shared memory with some unusably unfriendly bitwise arithmetic using the "coredump_filter" file in /proc for the process. (It's inherited by children, so you can just set it once for postmaster at server start time). -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services