Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fgWvc-0003Mb-1m for pgsql-admin@arkaria.postgresql.org; Fri, 20 Jul 2018 15:02:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fgWvZ-0001GY-RZ for pgsql-admin@arkaria.postgresql.org; Fri, 20 Jul 2018 15:02:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fgWvZ-0001GQ-Jl for pgsql-admin@lists.postgresql.org; Fri, 20 Jul 2018 15:02:41 +0000 Received: from mtaout005-public.msg.strl.va.charter.net ([68.114.190.30]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fgWvW-00081l-Mz for pgsql-admin@lists.postgresql.org; Fri, 20 Jul 2018 15:02:41 +0000 Received: from impout006 ([68.114.189.21]) by mtaout005.msg.strl.va.charter.net (InterMail vM.9.00.023.01 201-2473-194) with ESMTP id <20180720150237.PPYG7356.mtaout005.msg.strl.va.charter.net@impout006>; Fri, 20 Jul 2018 10:02:37 -0500 Received: from cerberus.crazybean.net ([24.151.10.150]) by impout006 with charter.net id D32b1y00C3EE3TL0132cEE; Fri, 20 Jul 2018 10:02:37 -0500 X-Authority-Analysis: v=2.2 cv=UeshcOaN c=1 sm=1 tr=0 a=D2HTw/M6/8MmcHighGO7rg==:117 a=D2HTw/M6/8MmcHighGO7rg==:17 a=IkcTkHD0fZMA:10 a=R9QF1RCXAYgA:10 a=xnDf1youtkUxLipltc4A:9 a=QEXdDO2ut3YA:10 Received: from [10.25.227.111] (144.121.139.193.lightower.net [144.121.139.193]) by cerberus.crazybean.net (OpenSMTPD) with ESMTPSA id 0b72688e (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 20 Jul 2018 11:02:33 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.17\)) Subject: Re: repeated out of shared memory error - not related to max_locks_per_transaction From: Rui DeSousa In-Reply-To: <018201d42038$7146a6a0$53d3f3e0$@merqurio.it> Date: Fri, 20 Jul 2018 11:02:31 -0400 Cc: Tom Lane , pgsql-admin@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <00a601d4201a$e2291a10$a67b4e30$@merqurio.it> <17662.1532096551@sss.pgh.pa.us> <016801d42037$4f5d4630$ee17d290$@merqurio.it> <018201d42038$7146a6a0$53d3f3e0$@merqurio.it> To: Alfonso Moscato X-Mailer: Apple Mail (2.3445.100.17) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alfonso, Do you happened to know how large the process is when it starts giving = error messages, anywhere near 47GB?=20 =E2=80=94 but we tried with work_mem to 130mb, shared_buffer to a = maximum fo 40gb, Having shared_buffer to 40GB would be two high for the current = configuration and I would expect to see out of memory errors given that = your system commit limit is 47GB; However, with shared_buffers at 23GB I = don=E2=80=99t think you should be hitting the 47GB limit =E2=80=94 are = you? To increase the commit limit you can add more swap and/or adjust the = overcommit ratio. =20