Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1antXx-0004bf-0q for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Apr 2016 19:55:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1antXw-0001Ly-Jc for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Apr 2016 19:55:24 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1anceq-0005xY-7o for pgsql-bugs@postgresql.org; Wed, 06 Apr 2016 01:53:24 +0000 Received: from d.mail.sonic.net ([64.142.111.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ancen-0008Fn-Nt for pgsql-bugs@postgresql.org; Wed, 06 Apr 2016 01:53:23 +0000 Received: from [192.168.3.4] (107.sub-70-197-16.myvzw.com [70.197.16.107]) (authenticated bits=0) by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id u361rIYd028378 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 5 Apr 2016 18:53:19 -0700 Subject: Re: BUG #14062: pg_dump dies after dumping first 60 gigabytes of text for large table To: Tom Lane References: <20160404173217.15198.47508@wrigleys.postgresql.org> <29360.1459799797@sss.pgh.pa.us> Cc: pgsql-bugs@postgresql.org From: D Message-ID: <57046C1B.50007@sonic.net> Date: Tue, 5 Apr 2016 18:53:31 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <29360.1459799797@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVbSgv8QOT2hqMkQ8fUN1PSEZim3RoTKCbR8YYsYwrmzZa4CqqD4fOubo456vgkitrffmCopvdo0wbWvD+mIAlRl X-Sonic-ID: C;eKS6VZr75RGWosgVZbXa/Q== M;7rkaVpr75RGWosgVZbXa/Q== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-Pg-Spam-Score: -3.6 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Amazon RDS instance has a default value of 0 for ssl_renegotiation_limit for the postgres 9.4 default parameters, according to the RDS Dashboard. However, when we disable SSL connections the problem evaporates. Good enough for me. Thanks, Tom! On 4/4/2016 12:56 PM, Tom Lane wrote: > dll@sonic.net writes: >> For an approximately 500 gigabyte database, pg_dump dies after approximately >> 60 gb of text output, with an error: > >> pg_dump: Dumping the contents of table "datum" failed: PQgetCopyData() >> failed. >> pg_dump: Error message from server: SSL SYSCALL error: EOF detected > > Sounds like an SSL renegotiation bug. We gave up on that mess and > disabled renegotiation by default as of 9.4.5 or so, but maybe you have > an explicit nonzero setting for ssl_renegotiation_limit? > > regards, tom lane > -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs