pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Tory M Blue <tmblue@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Is there a significant difference in Memory settings between 9.5 and 12
Date: Mon, 11 May 2020 14:25:58 -0700
Message-ID: <0cec61f5-ae6d-d789-ace6-eb89cbb473cb@aklaver.com> (raw)
In-Reply-To: <CAEaSS0Zii5cQb++vzPNXE23McH3AHE751e=npq_jGoQpOPBcMg@mail.gmail.com>
References: <CAEaSS0a5Bi7swvgWxcLk1kBHwRjmS0KMeU5Qs-LckECDbtOWaA@mail.gmail.com>
	<7b3633eee48f14c11677ad445b9bf2b9ac7aaf72.camel@cybertec.at>
	<CAEaSS0ZCV4tWv1=rybjgxky55BuUKMh2M9BDAbe9RgbS+_-jfA@mail.gmail.com>
	<CAEaSS0aewdAM5REvG7+5vPWGbxYfCq4KvbUsG6CBjX+0gA8y=A@mail.gmail.com>
	<30855.1589229387@sss.pgh.pa.us>
	<CAEaSS0Zii5cQb++vzPNXE23McH3AHE751e=npq_jGoQpOPBcMg@mail.gmail.com>

On 5/11/20 1:42 PM, Tory M Blue wrote:
> 
> 
> On Mon, May 11, 2020 at 1:36 PM Tom Lane <tgl@sss.pgh.pa.us 
> <mailto:tgl@sss.pgh.pa.us>> wrote:
> 
>     Tory M Blue <tmblue@gmail.com <mailto:tmblue@gmail.com>> writes:
>      > 12 will not start at 10GB, even though it's the same hardware,
>     same config
>      > file, same physical box, same everything, just version 12 vs 9.5
> 
>     For me, using all-default settings (in particular, shared_buffers =
>     128MB), the shared memory block is about 141.6MB using 9.5 and 142.1MB
>     using 12.  So there's half a meg or so of additional data in v12, but
>     certainly not gigabytes worth.
> 
>     Are you trying to start both postmasters concurrently?  Maybe you're
>     hitting some kernel limit on the total amount of shared memory in the
>     system.
> 
>                              regards, tom lane
> 
> 
> Hey Tom
> 
> Nope, just a single one that is why i'm flummoxed :) I've even rebooted, 
> but I can't start Postgres 12 with my current setting of 10GB, I can 

So what is the error output from console, Postgres log and/or system log?

> start 9.5 with 10GB configured.   I've tried, shutting down 9.5 and 
> rebooting so nothing is running and attempting to start 12 and nada, it 
> won't unless I drop the Shared Buffers down to 5GB (half)..  But these 
> are dedicated postgresql servers. And in fact my latest migrations, 
> don't even have 9.5 binaries anymore and 12 will not start with my 9.5 
> configuration of 10GB buffers. So something feels really different.
> 
> It's very possible that there are new defaults , new memory settings 
> that I'm not finding in the default postgresql 12 .conf file, and my 
> include is not overwriting it. But really I just can't fathom what that 
> could be.. Buffers, work mem, effective cache, what would they have added?
> 
> I am going to pull the settings from postgres itself and compare 12 and 
> 9.5 to see if there is something glaring.
> 
> Thanks! :)
> Tory


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (18+ messages)  latest in thread

Message-ID: <0cec61f5-ae6d-d789-ace6-eb89cbb473cb@aklaver.com>
Permalink:  ../0cec61f5-ae6d-d789-ace6-eb89cbb473cb@aklaver.com/
Also on:    postgresql.org/message-id/0cec61f5-ae6d-d789-ace6-eb89cbb473cb@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, tmblue@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Is there a significant difference in Memory settings between 9.5 and 12
  In-Reply-To: <0cec61f5-ae6d-d789-ace6-eb89cbb473cb@aklaver.com>
  References: <CAEaSS0a5Bi7swvgWxcLk1kBHwRjmS0KMeU5Qs-LckECDbtOWaA@mail.gmail.com> <7b3633eee48f14c11677ad445b9bf2b9ac7aaf72.camel@cybertec.at> <CAEaSS0ZCV4tWv1=rybjgxky55BuUKMh2M9BDAbe9RgbS+_-jfA@mail.gmail.com> <CAEaSS0aewdAM5REvG7+5vPWGbxYfCq4KvbUsG6CBjX+0gA8y=A@mail.gmail.com> <30855.1589229387@sss.pgh.pa.us> <CAEaSS0Zii5cQb++vzPNXE23McH3AHE751e=npq_jGoQpOPBcMg@mail.gmail.com> <0cec61f5-ae6d-d789-ace6-eb89cbb473cb@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox