Re: Understanding was terminated by signal 9: Killed

From: John Scalia <jayknowsunix(at)gmail(dot)com>
To: Michel SALAIS <msalais(at)msym(dot)fr>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Wells Oliver <wells(dot)oliver(at)gmail(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Understanding was terminated by signal 9: Killed
Date: 2021-10-20 20:39:04
Message-ID: B824B1DB-5868-4982-BA8B-FF607CE0EA39@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

That would be news to me. Where I currently work we’ve had to do that on several occasions as many of our dbs are in the multi- multi- terabyte range, but some are just references without a lot of traffic.

Sent from my iPad

> On Oct 20, 2021, at 4:27 PM, Michel SALAIS <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>
> Envoyé : mercredi 20 octobre 2021 01:12
> À : Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
> Cc : Wells Oliver <wells(dot)oliver(at)gmail(dot)com>; pgsql-admin <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> wrote:
>>
>> Wells Oliver <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
>>
>>
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Dan Smith 2021-10-20 21:00:49 Re: Understanding was terminated by signal 9: Killed
Previous Message Wells Oliver 2021-10-20 20:36:15 Re: Understanding was terminated by signal 9: Killed