pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jerry Sievers <gsievers19@comcast.net>
To: Christian Rosnes <christian.rosnes@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Oldest xmin is far in the past
Date: Sat, 30 Jun 2012 09:55:05 -0400
Message-ID: <87k3yogb0m.fsf@comcast.net> (raw)
In-Reply-To: <CAMgLkJMtdX01PLSr5FjbR-3Cgr1XvR3XXGPzTojjBV67LuxRMg@mail.gmail.com>
References: <CAMgLkJMtdX01PLSr5FjbR-3Cgr1XvR3XXGPzTojjBV67LuxRMg@mail.gmail.com>

Christian Rosnes <christian.rosnes@gmail.com> writes:

> Hi,
>
> Coming back from vacation, I find a PostgreSQL database cluster (Pg version: 9.0.4)
> with 5 databases, which for the past 5 days have logged these messages:
>
> ? WARNING:? oldest xmin is far in the past
> ? HINT:? Close open transactions soon to avoid wraparound problems.
>
> The cluster has been running continously for over 9 months with autovacuum enabled.

<snip>>

> I cannot find any 'idle in transaction' connected, and I can see one 'idle' connection
> (but not 'idle in transaction') which is almost 24 hours old, the rest is from early this morning.
>
See if there is a prepared transaction still open.  Query pg_prepared_xacts.

HTH

-- 
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@comcast.net
p: 732.216.7255



view thread (4+ messages)  latest in thread

Message-ID: <87k3yogb0m.fsf@comcast.net>
Permalink:  ../87k3yogb0m.fsf@comcast.net/
Also on:    postgresql.org/message-id/87k3yogb0m.fsf@comcast.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: gsievers19@comcast.net, christian.rosnes@gmail.com
  Subject: Re: Oldest xmin is far in the past
  In-Reply-To: <87k3yogb0m.fsf@comcast.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox