Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T3kX1-00039l-0Z for pgsql-bugs@postgresql.org; Tue, 21 Aug 2012 09:13:51 +0000 Received: from moutng.kundenserver.de ([212.227.126.171]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T3kWz-0004S7-I5 for pgsql-bugs@postgresql.org; Tue, 21 Aug 2012 09:13:50 +0000 Received: from awork2.localnet (p5DDC7243.dip.t-dialin.net [93.220.114.67]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0LroEc-1TocC41hLq-013yY0; Tue, 21 Aug 2012 11:13:46 +0200 From: Andres Freund Organization: 2ndquadrant.com To: pgsql-bugs@postgresql.org Subject: Re: BUG #7500: hot-standby replica crash after an initial rsync Date: Tue, 21 Aug 2012 11:13:45 +0200 User-Agent: KMail/1.13.7 (Linux/3.5.0-rc6-andres-00196-gfdb1335; KDE/4.8.4; x86_64; ; ) Cc: maxim.boguk@gmail.com References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201208211113.45412.andres@2ndquadrant.com> X-Provags-ID: V02:K0:RWKvy7l6v9RffjmKb97rFMVNXWJOmXa6tsVKK2pX8Rs OvMbupi4BTQFRCU7lzbVeq+nfDIuL5lHkgg7KQRJh9BhUzcgw8 lc3PwcokoBm8KTTEx+JTB2iif9xlfERK5PGGWToed7Zy7Xjpng 27cwsr9hfAH8mzoSoCXGOox63MYCpUf1PF28l3RXTjo/DQj8F8 mmlAUIIHuM0kafUVld+t1ag4dnqy04w9L5b7CcPpyZWQzX26US yDBe0Eprp7n04A70pjRVw+qk3inE36gt01jmZgcDnsUC/ScZQ6 Sht/1d3MytniLtgD38KzW9I28Z9rBoscVwlG0O4R+PEk6c/d2M pKJQDtQbZkaYHWCZUf1nUqAarq7JmwxnsKnNbx/5j X-Pg-Spam-Score: 1.7 (+) X-Archive-Number: 201208/142 X-Sequence-Number: 33866 On Tuesday, August 21, 2012 10:08:11 AM maxim.boguk@gmail.com wrote: > The following bug has been logged on the website: > > Bug reference: 7500 > Logged by: Maxim Boguk > Email address: maxim.boguk@gmail.com > PostgreSQL version: 9.0.8 > Operating system: FreeBSD > Description: > > Hi, > > Reinitialization of the replica after failover is procedure performed by me > a lot times in that installation. And I never had any issues. But today > after following the same pg_start_backup/rsync procedure replica doesn't > start with following error: > > 2012-08-21 11:17:07.777 MSK 34329 @ from [vxid: txid:0] []LOG: entering > standby mode > 2012-08-21 11:17:07.780 MSK 34329 @ from [vxid:1/0 txid:0] []LOG: redo > starts at 925/2C0004C8 > 2012-08-21 11:17:07.783 MSK 34329 @ from [vxid:1/0 txid:0] []FATAL: could > not access status of transaction 361788644 > 2012-08-21 11:17:07.783 MSK 34329 @ from [vxid:1/0 txid:0] []DETAIL: > Could not read from file "pg_multixact/offsets/1590" at offset 114688: > Unknown error: 0. > 2012-08-21 11:17:07.783 MSK 34329 @ from [vxid:1/0 txid:0] []CONTEXT: > xlog redo create multixact 361788644 offset 822580965: 1768508061 > 1768508078 2012-08-21 11:17:07.791 MSK 34327 @ from [vxid: txid:0] []LOG: > startup process (PID 34329) exited with exit code 1 > 2012-08-21 11:17:07.791 MSK 34327 @ from [vxid: txid:0] []LOG: > terminating any other active server processes > > > I have kept all that database files for the future investigation. > > What I should look into first? Could you reproduce the error with log_error_verbosity=verbose? Or even better provide a backtrace with gdb? Greetings, Andres -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services