Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id A15C613CCE5F for ; Thu, 2 Feb 2012 03:39:38 -0400 (AST) Received: from out1.mail.amis.hr ([188.129.0.4]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RsrGa-0005Cp-3i for pgsql-admin@postgresql.org; Thu, 02 Feb 2012 07:39:38 +0000 Received: from out.fsec.sm.srv.amis.hr (out.fsec.sm.srv.amis.hr [192.168.106.22]) by out1.mail.amis.hr (Postfix) with ESMTP id 59FB11FE01 for ; Thu, 2 Feb 2012 08:39:21 +0100 (CET) Received: from pps.filterd (out [127.0.0.1]) by out.fsec.sm.srv.amis.hr (8.14.3/8.14.3) with SMTP id q127bJXe006559 for ; Thu, 2 Feb 2012 08:39:20 +0100 Received: from smtp.amis.hr (smtp.sm.srv.amis.hr [192.168.106.39]) by out.fsec.sm.srv.amis.hr with ESMTP id 12qnb180n6-1 for ; Thu, 02 Feb 2012 08:39:20 +0100 A-Original-Client-UID: 188.129.73.29 splivalo Received: from [192.168.10.1] (cpe-188-129-73-29.dynamic.amis.hr [188.129.73.29]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: splivalo) by smtp.amis.hr (Postfix) with ESMTPSA id 893CF3B8 for ; Thu, 2 Feb 2012 08:39:20 +0100 (CET) Message-ID: <4F2A3D03.20405@megafon.hr> Date: Thu, 02 Feb 2012 08:36:35 +0100 From: Mario Splivalo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0 MIME-Version: 1.0 To: "pgsql-admin@postgresql.org" Subject: ssl3 errors in replication. Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7361, 1.0.260, 0.0.0000 definitions=2012-02-02_02:2012-02-01, 2012-02-02, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1202010417 X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201202/5 X-Sequence-Number: 39065 I have these errors in my log files, occurring very often: 2012-02-02 01:05:53 CST [4103]: [2-1] user=,db= FATAL: could not receive data from WAL stream: SSL error: sslv3 alert unexpected message 2012-02-02 01:05:58 CST [20507]: [301-1] user=,db= LOG: invalid magic number 0000 in log file 970, segment 37, offset 15728640 2012-02-02 01:05:58 CST [4104]: [1-1] user=,db= LOG: streaming replication successfully connected to primary 2012-02-02 01:14:28 CST [4104]: [2-1] user=,db= FATAL: could not receive data from WAL stream: SSL error: sslv3 alert unexpected message 2012-02-02 01:14:33 CST [20507]: [302-1] user=,db= LOG: unexpected pageaddr 3C9/CBE6A000 in log file 970, segment 196, offset 15114240 2012-02-02 01:14:33 CST [4212]: [1-1] user=,db= LOG: streaming replication successfully connected to primary 2012-02-02 01:15:10 CST [4212]: [2-1] user=,db= FATAL: could not receive data from WAL stream: SSL error: sslv3 alert unexpected message 2012-02-02 01:15:10 CST [20507]: [303-1] user=,db= LOG: unexpected pageaddr 3C9/B0F80000 in log file 970, segment 227, offset 16252928 2012-02-02 01:15:10 CST [4269]: [1-1] user=,db= LOG: streaming replication successfully connected to primary These are happening every few minutes. This started happening when I upgraded master and slave from 9.1.1 to 9.1.2 (upgrade was related to often segfaulting of slave when additional load was put onto WALs - a lot of DML on the master made slave segfault). Befure the upgrade I had 'sslv3 alert' issues maybe once every few days. I've added another slave to the setup, and I have same issues there as on the other slave - the difference is that the newly added slave has no clients connected to it. This is all set up on 64bit debian squeeze upgraded to latest packages, where postgres 9.1.2 is installed from backports repositories: postgres=# select version(); version ------------------------------------------------------------------------------------------------------- PostgreSQL 9.1.2 on x86_64-unknown-linux-gnu, compiled by gcc-4.6.real (Debian 4.6.2-9) 4.6.2, 64-bit (1 row)