Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mdIBY-0005ou-9Z for pgsql-admin@arkaria.postgresql.org; Wed, 20 Oct 2021 20:27:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mdIBW-000325-U4 for pgsql-admin@arkaria.postgresql.org; Wed, 20 Oct 2021 20:27:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mdIBW-00031u-KJ for pgsql-admin@lists.postgresql.org; Wed, 20 Oct 2021 20:27:38 +0000 Received: from mout.kundenserver.de ([212.227.17.10]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mdIBP-0002yR-Pg for pgsql-admin@postgresql.org; Wed, 20 Oct 2021 20:27:38 +0000 Received: from ANAT ([78.197.128.121]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.184]) with ESMTPSA (Nemesis) id 1MhTt7-1n922G3d0F-00egMZ; Wed, 20 Oct 2021 22:27:27 +0200 From: "Michel SALAIS" To: "'John Scalia'" , "'Tom Lane'" Cc: "'Wells Oliver'" , "'pgsql-admin'" References: <2009137.1634680908@sss.pgh.pa.us> In-Reply-To: Subject: RE: Understanding was terminated by signal 9: Killed Date: Wed, 20 Oct 2021 22:27:23 +0200 Message-ID: <006701d7c5f0$e4ddc100$ae994300$@msym.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQEGu34ySUp49ux2ICtowT1EXlcHWQGY4r0xrXGfnKA= Content-Language: fr X-Provags-ID: V03:K1:1fPimFtwkBT0TD/5GmxKIAeRlt2J5KoQxhDAAzEZjgMoYPAFi0/ ZWF8n4dqWL1pchlINBPdE3UP7u0YZoP6wUVByaL5SOTsfMEOk9flHA4GuU48wJgWeKkFSFM lA3FE/OO5PCjuBRtiThvZrZH4f5GY5TLiN2KopcEJ4CAbdMbLYRQrKnzIC/DFNubAFwfkCY xE2S6AMpTwrv01vcr28UA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:GXDNVy0v1ME=:wN0PRqkiPsQLL5YNviRu+J 2duNoO8BL8cjI0SEtr5+Jg1RhFXbd0QBGG0KG5YvB+LR5q9Jk8DJxS58NAG3/e/6c5tfuTHwq 7RFwtPy9DHQc4Eb9Jcn3YYqDG0lIfA0g1czrI+hD1s049KQgNx6x82CSXgs8Fu2CSG+BG9AzX 2T4lemSK/ews3HMeBoSVawsnanjSbOjdsVqNF7uXHBTUxNhCccaUENklCKd9qED5FvZofNY0q 4QfnNodpUNIC5v7+O6euil1y3UDDuZ0u8c84f6fYU10Tfmx9m9jx/KqayfVhSy1T/5ALnerOi j2gczWxATwMdM4+192g2smmxRtJnTfPBTCgw+DE2QpNNIsYQKaG6lqivtPTQ2XlwYAUQ8Pjx4 4S+bdgkO6eafzQexQps393yj82BogHgKzpxUUaM7MY3v9F7Wz7sKcGNjXFyodjmD3wIPQ7oAh 0sOnczQyYMRG4Tve89+gmum+F0GM/xSxZWYIxDr8r4mZpAd5FZz8O9LFMmSIy6FT7Tauf8YWy zuj5Pr2Ds3CxH2gAD/ney0J2nKWq2ewsJ0kQkJtloLJbrBNRAfiZ6wrRQSxcC5w3s8RT85kd4 MdZQKGO2Xxo/cJN9KHrmNxyjyraBxYtHQqBZ4r/Dh51zx4eXiody8lJBc2Af/3BZXuIGwnGlg VchA6vuu6rYGS5vgNtVL3PLguCQhjCG53ijrMNzeZpl7TNC/N98jG76RgnoUbao0wju4= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 =20 Envoy=C3=A9 : mercredi 20 octobre 2021 01:12 =C3=80 : Tom Lane Cc : Wells Oliver ; pgsql-admin = 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 wrote: >=20 > =EF=BB=BFWells Oliver 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,=20 >> but can anyone point me in a different direction if the following log = >> messages indicate something else is awry? >=20 > Yeah, this: >=20 >> 2021-10-19 21:10:37 UTC::@:[24752]:LOG: server process (PID 25813)=20 >> was terminated by signal 9: Killed >=20 > almost certainly indicates the Linux OOM killer at work. If you were=20 > running your own system I'd point you to [1], but I doubt that RDS=20 > lets you put your hands on the relevant knobs. >=20 > regards, tom lane >=20 > [1]=20 > https://www.postgresql.org/docs/current/kernel-resources.html#LINUX-ME > MORY-OVERCOMMIT >=20 >=20