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 1mcyHE-0004xv-Td for pgsql-admin@arkaria.postgresql.org; Tue, 19 Oct 2021 23:12:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mcyHD-0001PS-Ow for pgsql-admin@arkaria.postgresql.org; Tue, 19 Oct 2021 23:12:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mcyHD-0001P6-CU for pgsql-admin@lists.postgresql.org; Tue, 19 Oct 2021 23:12:11 +0000 Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mcyH9-0004NX-3X for pgsql-admin@postgresql.org; Tue, 19 Oct 2021 23:12:10 +0000 Received: by mail-qt1-x82d.google.com with SMTP id r17so1453915qtx.10 for ; Tue, 19 Oct 2021 16:12:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=0sYOT+vCKO7RnSSUk0XbkNjrIhj4ApdqPErT6/kqoFk=; b=eynDH9oJW3suEuoccDIflsiMbKRC3y7zTA6VHK/r6r4QsDDHMz6q181AGB0XMtzPUQ Pf09DfXruYyA67Kzledf0C/Cc9KzdpJvYzK/r1o6Vm5cCMoLsk4i8tNT5CMm3gI6LrqF yVmuz77YquRmPKM7tnjSZEB28Mvlqi2LHp73IkXlOmmR9CaVyEIBkMECMyYwBNjvIqPV lrd2kRP83DZ4bzJu1spERL0XX4dc/iaqWHFYENMu5KqkvJGvSl4zD2nCBE37vzwfzLF3 3N4dQeIAEN4ZKl4HO7l3sdwa/Fban3CDxofP8GGV9HhUcxuUwgb6saDFwC7KVx0Q0jar KN8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=0sYOT+vCKO7RnSSUk0XbkNjrIhj4ApdqPErT6/kqoFk=; b=z1L00HHhyffGSswxL+MMcJdGMkfMXu9wqoivOa/BSQKqcVTrRHnjXMgyPQDvkiK4+w TngDXymZF074Hew81AXDKQgDFYmg/yrdeufAXt4/eJ6k7Hv3Rjnc6erN4bJnjLguBqc1 WDvlaXoJazp4MtTO9S6vRfAo06pQDwQhscfFDElgNhys9NwFpFVLyXFK4AELrndf5/1H Z1WmyT3RGOPMB3w0CAPdskvMPHL3OcHzoaMUDdUpqMkzG3RNQDcvHW8bDSjQMzzNAxvH Pkee41JzQHd55/6DdncGOF6EkJon6AsAvnbkTbqMhTdEAAr5dscqWiWkmiHnLnL+4p+M HF1w== X-Gm-Message-State: AOAM531QQzVsmUvcSzCWjrrhzOUTwUkgsRxhg4E0y3GCzqK6g5hUtPIn 78n7BEoNrTYUOlJKm/mYK64= X-Google-Smtp-Source: ABdhPJwapWayK9dRMJ+JyYaZTPn2RstUCtiky3qnW8HHnShThFcrRxW7eAwp+iRbYSQyg7vQU2HmHg== X-Received: by 2002:ac8:7617:: with SMTP id t23mr3196142qtq.316.1634685126227; Tue, 19 Oct 2021 16:12:06 -0700 (PDT) Received: from smtpclient.apple (72-47-90-47.nlsncmtc01.res.dyn.suddenlink.net. [72.47.90.47]) by smtp.gmail.com with ESMTPSA id s12sm238472qkg.22.2021.10.19.16.12.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Oct 2021 16:12:05 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: John Scalia Mime-Version: 1.0 (1.0) Subject: Re: Understanding was terminated by signal 9: Killed Date: Tue, 19 Oct 2021 19:12:04 -0400 Message-Id: References: <2009137.1634680908@sss.pgh.pa.us> Cc: Wells Oliver , pgsql-admin In-Reply-To: <2009137.1634680908@sss.pgh.pa.us> To: Tom Lane X-Mailer: iPad Mail (18G82) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk You could always change the size of the RDS instance to something larger tha= n 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, but ca= n >> 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) was >> terminated by signal 9: Killed >=20 > 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. >=20 > regards, tom lane >=20 > [1] https://www.postgresql.org/docs/current/kernel-resources.html#LINUX-ME= MORY-OVERCOMMIT >=20 >=20