pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pingu.freak@web.de
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Transaction-Overflow
Date: Tue, 07 Aug 2007 17:34:53 +0200
Message-ID: <2039621806@web.de> (raw)

Hi Tom,

thank you for the very fast answer!

On the top in the log file is this, do you know why the pid is killed with 11? I'm a little bit confused :(.

 LOG:  Serverprozess (PID 30399) wurde von Signal 11 beendet
 LOG:  aktive Serverprozesse werden abgebrochen
 WARNUNG:  breche Verbindung ab wegen Absturz eines anderen Serverprozesses
 DETAIL:  Der Postmaster hat diesen Serverprozess angewiesen, die aktuelle Transaktion zurückzurollen und die Sitzung
  zu beenden, weil ein anderer Serverprozess abnormal beendet wurde und möglicherweise das Shared Memory verfälscht h
 at.
 TIPP:  In einem Moment sollten Sie wieder mit der Datenbank verbinden und Ihren Befehl wiederholen können.
 WARNUNG:  breche Verbindung ab wegen Absturz eines anderen Serverprozesses
 DETAIL:  Der Postmaster hat diesen Serverprozess angewiesen, die aktuelle Transaktion zurückzurollen und die Sitzung
  zu beenden, weil ein anderer Serverprozess abnormal beendet wurde und möglicherweise das Shared Memory verfälscht h
 at.

The log says also that the max possible xid is 1187023047:

 LOG:  Grenze für Transaktionsnummernüberlauf ist 1187023047, begrenzt durch Datenbank »mydb«

And my DB is already on 1076856894:

 isohost=# SELECT datname, age(datfrozenxid) FROM pg_database;
   datname  |    age     
 -----------+------------
  postgres  |  116395795
  template1 |  116395795
  template0 |  116395795
  mydb  | 1076856894

Should this be the problem? 
What if the max xid is reached, does postgres then do a restart?
How can I clean the counter, this should "vacuum analyze" do, or?
Is it possible, that vacuum (without full) doesn't freeing any space, if max_fsm_pages are set to low? I've read something like this in the admin-mailinglist. 

Thanks a lot!

Regards,

Martin
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066




view thread (8+ messages)  latest in thread

Message-ID: <2039621806@web.de>
Permalink:  ../2039621806@web.de/
Also on:    postgresql.org/message-id/2039621806@web.de

 · 

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: pingu.freak@web.de, tgl@sss.pgh.pa.us
  Subject: Re: Transaction-Overflow
  In-Reply-To: <2039621806@web.de>

* 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