Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0vU6-0003uh-6z for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Jan 2014 15:55:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W0vU5-0002sr-L4 for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Jan 2014 15:55:57 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0vU4-0002rX-F3 for pgsql-bugs@postgresql.org; Wed, 08 Jan 2014 15:55:56 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0vU0-0004Rt-U9 for pgsql-bugs@postgresql.org; Wed, 08 Jan 2014 15:55:55 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s08FtlFJ006589; Wed, 8 Jan 2014 10:55:47 -0500 From: Tom Lane To: Marko Tiikkaja cc: Alvaro Herrera , pgsql-bugs@postgresql.org Subject: Re: Backends stuck in LISTEN In-reply-to: <6224.1389195529@sss.pgh.pa.us> References: <52CC830A.2050602@joh.to> <20140108140058.GH6840@eldon.alvh.no-ip.org> <52CD5FB8.20000@joh.to> <52CD6471.5030503@joh.to> <20140108145029.GI6840@eldon.alvh.no-ip.org> <52CD6733.60307@joh.to> <6224.1389195529@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Wed, 08 Jan 2014 10:38:49 -0500" Date: Wed, 08 Jan 2014 10:55:47 -0500 Message-ID: <6588.1389196547@sss.pgh.pa.us> X-Pg-Spam-Score: -2.0 (--) 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 Marko Tiikkaja writes: >> In the meanwhile I'll be happy to provide more information if someone >> has any ideas. Oh, after further thought: this trace says the process was trying to look up the status of XID 1124964531 (see the TransactionIdGetStatus and TransactionLogFetch calls). Do all the backtraces show this same XID? If I did the math right, this corresponds to pg_clog file 010C. Do you have such a file? Does it look to have the right size and permissions? What file names are present in pg_clog? It'd also be interesting to see the current XID counter according to pg_controldata, especially if you have some idea how far it's advanced since the problem happened. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs