Skip site navigation (1) Skip section navigation (2)

Re: BUG #2113: PostgreSQL hangs after running for 2 days

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Wojciech Sobczuk" <wojtek(at)brandlay(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2113: PostgreSQL hangs after running for 2 days
Date: 2005-12-15 06:25:55
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
"Wojciech Sobczuk" <wojtek(at)brandlay(dot)com> writes:
> I have a 16GB database which is very busy (100 requests per second).  After
> running for some time (sometimes 2 days sometimes longer sometimes shorter)
> postgres hangs.  Last time it happened I got the following error in the
> log:

>     ERROR:  could not access status of transaction 0
>     DETAIL:  could not create file "/opt/pgdata/pg_subtrans/6E75": File
> exists
>     WARNING:  StartTransaction while in START state

Hmmm ... it seems just possible that this is related to a recent fix:

2005-11-02 19:23  tgl

	* src/backend/access/transam/slru.c (REL8_0_STABLE): Fix
	longstanding race condition in transaction log management: there
	was a very narrow window in which SimpleLruReadPage or
	SimpleLruWritePage could think that I/O was needed when it wasn't
	(and indeed the buffer had already been assigned to another page). 
	This would result in an Assert failure if Asserts were enabled, and
	probably in silent data corruption if not.  Reported independently
	by Jim Nasby and Robert Creager.

Would you update to 8.0.5 and let us know if you still see the failure?

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Adam KolanyDate: 2005-12-15 11:03:55
Subject: BUG #2117: inconsistency in sum
Previous:From: Qingqing ZhouDate: 2005-12-15 04:14:49
Subject: Re: BUG #2113: PostgreSQL hangs after running for 2 days

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group