Re: opened connection

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Nathan Wagner <nw(at)hydaspes(dot)if(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: opened connection
Date: 2012-10-01 14:17:15
Message-ID: 23500.1349101035@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> writes:
> I've had problems with ssl connections dying on me. For slony
> replication I had to make sure the connections were NOT ssl or they'd
> die and subscriptions would just keep repeating after getting 80%
> through and getting a connect error. This was with 8.4 on debian
> lenny.

That sounds like an artifact of the kluge solution some vendors used for
the SSL renegotiation security bug a couple years back: their patched
openssl libraries would simply kill the connection when a key
renegotiation was requested, which PG would do after transferring a
couple hundred megabytes.

We put in a workaround whereby you could prevent that by setting a GUC
variable to disable the renegotiation requests ... but if you're still
seeing such a problem today, you really need to complain to your distro
vendor. Nobody should still be shipping such lobotomized libraries.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marco Craveiro 2012-10-01 14:24:25 Re: Postgres error when adding new page
Previous Message Peter Geoghegan 2012-10-01 14:02:47 Re: Postgres error when adding new page