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 1mYyfG-00069O-4L for pgsql-admin@arkaria.postgresql.org; Fri, 08 Oct 2021 22:48:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mYyfF-0002Fh-1G for pgsql-admin@arkaria.postgresql.org; Fri, 08 Oct 2021 22:48:29 +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 1mYyfE-0002EE-OY for pgsql-admin@lists.postgresql.org; Fri, 08 Oct 2021 22:48:28 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mYyfC-0007xp-5L for pgsql-admin@postgresql.org; Fri, 08 Oct 2021 22:48:27 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 55DA33200B23; Fri, 8 Oct 2021 18:48:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 08 Oct 2021 18:48:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=Oewvb3XvrWm3bBmL6C9sr1oihZQYvbpzDIcv2NYIImc=; b=PIxLbLEY s6LDOHq9ew2E9IOoltDBjt26wDZvkKgHL4GYKGJE/dDrHGNjnosfKkOZigic/EYY qIWHKGirg/POzL7tm1yK2rulQFchuEoZM1zQP4n80nM5jzoLSaK37A/3lFJkljrW SZpq26ZSvaG2PptrfDUA9Sz7Xr9mwLixjyw3iCoItr44ghjBgm4p6zF63z8g2snd HFDsA1+RWv0o8doUWLLJHKUyfjakg8u8LeuNyZd9wll+LPgDACnmkUhzBDQGGz8Y xs/nj/xJsawwaOjG8XUfyNiS8grvLXrjul5VPGSZd1sYSNLYab3FBA+Yq5Qb9Jaa R+/LtWMg/sZE2Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddtuddgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedujeevjeffjeevuddutedvkeeiueeitddvieelfeekveej udefgeeuvdejhfeuleenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 8 Oct 2021 18:48:23 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id DC73D2A07B2; Fri, 8 Oct 2021 19:48:21 -0300 (-03) Date: Fri, 8 Oct 2021 19:48:21 -0300 From: Alvaro Herrera To: Wells Oliver Cc: Tom Lane , Bruce Momjian , pgsql-admin , Jeremy Schneider Subject: Re: 13.4 on RDS, SSL SYSCALL EOF on restore Message-ID: <202110082248.xmzxkwo5gup7@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202110082245.4wq5lie5euyx@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Oct-08, Alvaro Herrera wrote: > On 2021-Oct-08, Wells Oliver wrote: > > > Dug out some more logging: > > > 2021-10-08 20:35:08 UTC::@:[12682]:LOG: server process (PID 3970) was terminated by signal 9: Killed > > 2021-10-08 20:35:08 UTC::@:[12682]:DETAIL: Failed process was running: CREATE INDEX ... > > So what's happening here is that the instance is running out of RAM > while creating some index, and the kernel is killing the process. I > would probably blame the combination of shared_buffers=4GB with > maintenance_work_mem=2GB, together with the instance's total RAM. Also, maybe RDS could be smarter about this situation. -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/ "La primera ley de las demostraciones en vivo es: no trate de usar el sistema. Escriba un guión que no toque nada para no causar daños." (Jakob Nielsen)