pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Len Morgan <len-morgan@crcom.net>
To: pgsql-admin@postgresql.org
Subject: Dead Postmasters
Date: Sat, 22 Apr 2000 10:02:06 -0500
Message-ID: <002501bfac6b$bb498920$0908a8c0@H233.bstx.cc> (raw)

On a couple of my installations, I've noticed that after a few days there
are several "dead" postmasters (i.e., not associated with any running
backend).  When I do a ps -ax (RedHat 6.1, Postgresql 6.5.3) I see:

...
[postmaster]
[postmaster]
[postmaster]
[postmaster]
[postmaster]
[postmaster]
...
and several

/usr/bin/postgres ..... lines

The problem is that there are more [postmaster] lines (sometimes 4 or 5
times as many) as there are /usr/bin/postgres lines.

When I do a kill -TERM pid on all of the [postmaster] pids or restart the
postmaster, the system gets much faster.  The problem is I also cut of
"live" connections in the process.  My question is: Is there any way I can
determine which of the [postmaster] entries are associated with which
/usr/bin/postgres entries?

Thank you!

Len Morgan




view thread (2+ messages)  latest in thread

Message-ID: <002501bfac6b$bb498920$0908a8c0@H233.bstx.cc>
Permalink:  ../002501bfac6b$bb498920$0908a8c0@H233.bstx.cc/
Also on:    postgresql.org/message-id/002501bfac6b$bb498920$0908a8c0@H233.bstx.cc

 · 

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: len-morgan@crcom.net
  Subject: Re: Dead Postmasters
  In-Reply-To: <002501bfac6b$bb498920$0908a8c0@H233.bstx.cc>
  References: <002501bfac6b$bb498920$0908a8c0@H233.bstx.cc>

* 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