Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vw0zR-0002Jr-Nk for pgsql-bugs@arkaria.postgresql.org; Thu, 26 Dec 2013 02:48:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vw0zQ-0006Hn-Ir for pgsql-bugs@arkaria.postgresql.org; Thu, 26 Dec 2013 02:48:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vw0zP-0006Hh-T2 for pgsql-bugs@postgresql.org; Thu, 26 Dec 2013 02:47:59 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vw0zL-0002Pj-Gh for pgsql-bugs@postgresql.org; Thu, 26 Dec 2013 02:47:59 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by mahout.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vw0zJ-0006AC-U3 for pgsql-bugs@postgresql.org; Thu, 26 Dec 2013 02:47:54 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1Vw0zD-00042M-PU for pgsql-bugs@postgresql.org; Thu, 26 Dec 2013 02:47:47 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: BUG #8701: recover process hang on slave To: pgsql-bugs@postgresql.org From: amutu@amutu.com Message-Id: Date: Thu, 26 Dec 2013 02:47:47 +0000 X-Pg-Spam-Score: -2.5 (--) 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 The following bug has been logged on the website: Bug reference: 8701 Logged by: amutu Email address: amutu@amutu.com PostgreSQL version: 9.1.9 Operating system: CentOS 6 x86-64 Description: we have a master and two streaming salve pg.we find One of the slave replay_location is far behand the other. both sent_location is BF1/921F6000;the write_location and flush_location is similar;but one of the server replay_location is BF1/9210DD10,the oter is 6DE/D958E8. on the abnormal server,top show that a postgres process replay the 00000001000006DE00000000 WAL,and the process take up 100% usage of the cpu core. I try to restart the salve,but failed. I get the core of the process,it shows: Loaded symbols for /lib64/ld-linux-x86-64.so.2 Core was generated by `postgres: startup process recovering 00000001000006DE00000000'. #0 0x00000000006264e8 in smgrclose () Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.49.tl1.x86_64 (gdb) bt #0 0x00000000006264e8 in smgrclose () #1 0x00000000006265c8 in smgrcloseall () #2 0x0000000000495322 in XLogDropDatabase () #3 0x0000000000516253 in dbase_redo () #4 0x0000000000492d40 in StartupXLOG () #5 0x0000000000495148 in StartupProcessMain () #6 0x00000000004ac26f in AuxiliaryProcessMain () #7 0x00000000005eb383 in StartChildProcess () #8 0x00000000005ef3dc in PostmasterMain () #9 0x0000000000590fe8 in main () -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs