pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Understanding was terminated by signal 9: Killed
Date: Wed, 20 Oct 2021 17:06:08 -0500
Message-ID: <c130e19d-91c8-ca2d-d9d3-2b0ec9d96fb4@gmail.com> (raw)
In-Reply-To: <CAK50JrzVFeU8dMoQzyVwWPzwd9uYyxuck7dAWHhGQaObjS-Fkg@mail.gmail.com>
References: <2009137.1634680908@sss.pgh.pa.us>
	<AEEF347B-39EC-41FC-8AC9-2AFA54F71391@gmail.com>
	<006701d7c5f0$e4ddc100$ae994300$@msym.fr>
	<CAK50JrzVFeU8dMoQzyVwWPzwd9uYyxuck7dAWHhGQaObjS-Fkg@mail.gmail.com>

Can confirm this.

On 10/20/21 4:00 PM, Dan Smith wrote:
> I'm 100% certain you can downsize given the selected instance type is 
> compatible with your engine version. Process is the same as scaling up and 
> will result in downtime. I don't see anything in documentation regarding 
> AWS RDS Console, API's or Terraform documentation that would lead me to 
> believe it cares about anything more than having valid parameters 
> combinations regarless of engine / size.
>
> Just to be certain, I created a t3.medium on my personal account with 
> Postgres 13.3 and resized to a t3.micro immediately after it was 
> provisioned.  No issues.
>
>
>     Summary of modifications
>
> You are about to submit the following modifications. Only values that will 
> change are displayed. Carefully verify your changes and click Modify DB 
> Instance.
> Attribute 	Current value 	New value
> DB instance class 	db.t3.medium 	db.t3.micro
>
>
> No issues Modifying.
>
>
> Best regards,
>
> Dan Smith
>
> On Wed, Oct 20, 2021 at 1:27 PM Michel SALAIS <msalais@msym.fr 
> <mailto:msalais@msym.fr>> wrote:
>
>     Be careful!
>     I am not sure but upgrade for a larger instance can't be temporary. I
>     think you can't downgrade to the original instance  class thereafter...
>
>     --
>     Michel SALAIS
>
>     -----Message d'origine-----
>     De : John Scalia <jayknowsunix@gmail.com <mailto:jayknowsunix@gmail.com>>
>     Envoyé : mercredi 20 octobre 2021 01:12
>     À : Tom Lane <tgl@sss.pgh.pa.us <mailto:tgl@sss.pgh.pa.us>>
>     Cc : Wells Oliver <wells.oliver@gmail.com
>     <mailto:wells.oliver@gmail.com>>; pgsql-admin
>     <pgsql-admin@postgresql.org <mailto:pgsql-admin@postgresql.org>>
>     Objet : Re: Understanding was terminated by signal 9: Killed
>
>     You could always change the size of the RDS instance to something
>     larger than what it currently is running, even just temporarily.
>
>     Sent from my iPad
>
>     > On Oct 19, 2021, at 6:01 PM, Tom Lane <tgl@sss.pgh.pa.us
>     <mailto:tgl@sss.pgh.pa.us>> wrote:
>     >
>     > Wells Oliver <wells.oliver@gmail.com
>     <mailto:wells.oliver@gmail.com>> writes:
>     >> In an RDS instance with 16GB RAM, I ran a long query which started by
>     >> setting temp_buffers to 16GB, so I think I plum ran out of memory,
>     >> but can anyone point me in a different direction if the following log
>     >> messages indicate something else is awry?
>     >
>     > Yeah, this:
>     >
>     >> 2021-10-19 21:10:37 UTC::@:[24752]:LOG:  server process (PID 25813)
>     >> was terminated by signal 9: Killed
>     >
>     > almost certainly indicates the Linux OOM killer at work. If you were
>     > running your own system I'd point you to [1], but I doubt that RDS
>     > lets you put your hands on the relevant knobs.
>     >
>     >            regards, tom lane
>     >
>     > [1]
>     >
>     https://www.postgresql.org/docs/current/kernel-resources.html#LINUX-ME
>     <https://www.postgresql.org/docs/current/kernel-resources.html#LINUX-ME;
>     > MORY-OVERCOMMIT
>     >
>     >
>
>
>
>
>
>
> -- 
> Best regards,
>
> Dan Smith

-- 
Angular momentum makes the world go 'round.

view thread (9+ messages)  latest in thread

Message-ID: <c130e19d-91c8-ca2d-d9d3-2b0ec9d96fb4@gmail.com>
Permalink:  ../c130e19d-91c8-ca2d-d9d3-2b0ec9d96fb4@gmail.com/
Also on:    postgresql.org/message-id/c130e19d-91c8-ca2d-d9d3-2b0ec9d96fb4@gmail.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Understanding was terminated by signal 9: Killed
  In-Reply-To: <c130e19d-91c8-ca2d-d9d3-2b0ec9d96fb4@gmail.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