Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp3L0-0004IX-Dn for pgsql-admin@arkaria.postgresql.org; Fri, 06 Dec 2013 21:53:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vp3Kz-0001Z3-U9 for pgsql-admin@arkaria.postgresql.org; Fri, 06 Dec 2013 21:53:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp3Kz-0001Yv-97 for pgsql-admin@postgresql.org; Fri, 06 Dec 2013 21:53:29 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp3Kw-0002Xb-H3 for pgsql-admin@postgresql.org; Fri, 06 Dec 2013 21:53:28 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Vp3Kt-0007oi-BO for pgsql-admin@postgresql.org; Fri, 06 Dec 2013 13:53:23 -0800 Date: Fri, 6 Dec 2013 13:53:23 -0800 (PST) From: CraigA To: pgsql-admin@postgresql.org Message-ID: <1386366803343-5782212.post@n5.nabble.com> Subject: WAL archiving on a synchrnous standby MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org We have enabled WAL archiving on our synchronous standby and are getting an unexpected behavior. WAL records are being deleted from pg_xlog directory but are not being written to our archive directory. Also, one or two WAL files per day are left in pg_xlog. I believe directory permissions are set properly on the archive directory and there are no error messages in the pg_log/postgres-xxx.log file. The archive command is un-commented in postgresql.conf. Things are acting like a pg_archivecleanup command is periodically executed on the pg_xlog directory. Has anyone seen this? Does WAL archiving act differently on a synchronous standby? Postgres 9.2.4 2.6.32-220.4.2.el6.x86_64 SMP x86_64 x86_64 x86_64 GNU/Linux -- View this message in context: http://postgresql.1045698.n5.nabble.com/WAL-archiving-on-a-synchrnous-standby-tp5782212.html Sent from the PostgreSQL - admin mailing list archive at Nabble.com. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin