RE: Understanding was terminated by signal 9: Killed

From: "Michel SALAIS" <msalais(at)msym(dot)fr>
To: "'Wells Oliver'" <wells(dot)oliver(at)gmail(dot)com>
Cc: "'John Scalia'" <jayknowsunix(at)gmail(dot)com>, "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "'pgsql-admin'" <pgsql-admin(at)postgresql(dot)org>
Subject: RE: Understanding was terminated by signal 9: Killed
Date: 2021-10-27 16:54:34
Message-ID: 015401d7cb53$52bd9800$f838c800$@msym.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,

I had an RDS instance with a “lot” of CPU and a “lot” of memory. I was studying tuning parameters for a particular application. I wanted to change instance type to have less CPU and less memory. There were no way to do it. The instance had to be erased an recreated. At the beginning, It was possible to choose an instance type with bigger RAM and more CPUs.

Regards

Michel SALAIS

Consultant Oracle, PostgreSQL

MSYM

23 rue du Départ

Boîte 37

75014 Paris

+33 6 68 94 19 60

<mailto:msalais(at)msym(dot)fr> msalais(at)msym(dot)fr

<http://www.msym.fr/> www.msym.fr

De : Wells Oliver <wells(dot)oliver(at)gmail(dot)com>
Envoyé : mercredi 20 octobre 2021 22:36
À : Michel SALAIS <msalais(at)msym(dot)fr>
Cc : John Scalia <jayknowsunix(at)gmail(dot)com>; Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>; pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Objet : Re: Understanding was terminated by signal 9: Killed

For posterity: RDS will definitely allow you to downgrade instance type.

On Wed, Oct 20, 2021 at 1:27 PM Michel SALAIS <msalais(at)msym(dot)fr <mailto:msalais(at)msym(dot)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(at)gmail(dot)com <mailto:jayknowsunix(at)gmail(dot)com> >
Envoyé : mercredi 20 octobre 2021 01:12
À : Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us <mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us> >
Cc : Wells Oliver <wells(dot)oliver(at)gmail(dot)com <mailto:wells(dot)oliver(at)gmail(dot)com> >; pgsql-admin <pgsql-admin(at)postgresql(dot)org <mailto:pgsql-admin(at)postgresql(dot)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(at)sss(dot)pgh(dot)pa(dot)us <mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us> > wrote:
>
> Wells Oliver <wells(dot)oliver(at)gmail(dot)com <mailto:wells(dot)oliver(at)gmail(dot)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
> MORY-OVERCOMMIT
>
>

--

Wells Oliver
wells(dot)oliver(at)gmail(dot)com <mailto:wellsoliver(at)gmail(dot)com>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Massimo Ortensi 2021-10-28 09:12:10 Activate a standby database and then revert to standby
Previous Message Holger Jakobs 2021-10-26 20:01:16 Re: RDS and postgres extension approval