pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: umashankar narayanan <umashankar@graffiti.net>
To: pgsql-admin@postgresql.org
Subject: Re: Postgres server crashing unexpectedly.
Date: Thu, 08 Mar 2012 12:25:34 -0600
Message-ID: <4F58A53E0200002500046040@gw.wicourts.gov> (raw)
In-Reply-To: <20120308181029.223700@gmx.com>
References: <20120308181029.223700@gmx.com>

"umashankar narayanan" <umashankar@graffiti.net> wrote:
 
> Version : 8.3
 
Please give the full version and a bit more information about the
environment it's running in:
 
http://wiki.postgresql.org/wiki/Guide_to_reporting_problems
 
>  2012-03-07 11:57:20 EST LOG: server process (PID 5944) exited
> with exit code 128
 
Was there anything in the PostgreSQL log ahead of this to give a
clue what went wrong and caused this?  Is there anything in any of
system logs from around this time?
 
>  2012-03-07 11:57:20 EST LOG: terminating any other active server
> processes
 
This is normal -- when one process crashes this hard, it can leave
shared memory in a corrupted state, so PostgreSQL restarts to get a
clean environment with minimal down time.
 
> [each client process logging its termination] 

>  2012-03-07 11:57:21 EST LOG: all server processes terminated; 
> reinitializing
 
OK, it's trying to restart so clients can re-connect and continue.
 
>  2012-03-07 11:57:22 EST FATAL: pre-existing shared memory block
> is still in use
>  2012-03-07 11:57:22 EST HINT: Check if there are any old server
> processes still running, and terminate them.
 
Something is still hanging on to the PostgreSQL shared memory block.
 
Are any postgres processes lingering?  Are you running anything else
which might be grabbing the same shared memory block?
 
-Kevin



view thread (8+ messages)  latest in thread

Message-ID: <4F58A53E0200002500046040@gw.wicourts.gov>
Permalink:  ../4F58A53E0200002500046040@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4F58A53E0200002500046040@gw.wicourts.gov

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, umashankar@graffiti.net
  Subject: Re: Postgres server crashing unexpectedly.
  In-Reply-To: <4F58A53E0200002500046040@gw.wicourts.gov>
  References: <20120308181029.223700@gmx.com> <4F58A53E0200002500046040@gw.wicourts.gov>

* 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