pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ameet Kini <akini@cs.wisc.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: Lots of postmaster processes
Date: Tue, 13 Dec 2005 14:10:11 -0500
Message-ID: <9263.1134501011@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.58.0512131238280.1275@karadi.cs.wisc.edu>
References: <Pine.LNX.4.58.0512131121450.1030@karadi.cs.wisc.edu>
	<8641.1134497889@sss.pgh.pa.us>
	<Pine.LNX.4.58.0512131238280.1275@karadi.cs.wisc.edu>

Ameet Kini <akini@cs.wisc.edu> writes:
> We're running on tao linux.  And yes, there are many client connection
> requests sent to the server at the same time. My impression was that
> client connection requests usually show up as a postgres process not
> postmaster but I could be wrong.  Is it that the postmaster forks off a
> process on receiving a client connection request and then renames the
> process to postgres and I'm issuing my ps command while its in the
> intermediate state when its still called postmaster?

A bit hard to believe, unless there's something delaying the
subprocesses from reaching their first set_ps_display() call.
Offhand it looks like DNS problems could cause that (especially if
you've got log_hostname enabled), or broken client code that doesn't
send the whole startup packet immediately.

However, a backend that's hung up that early in the startup process
really shouldn't be consuming noticeable resources, so I'm not sure why
this would create a performance issue for you.

			regards, tom lane



view thread (4+ messages)

Message-ID: <9263.1134501011@sss.pgh.pa.us>
Permalink:  ../9263.1134501011@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9263.1134501011@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, akini@cs.wisc.edu
  Subject: Re: Lots of postmaster processes
  In-Reply-To: <9263.1134501011@sss.pgh.pa.us>
  References: <Pine.LNX.4.58.0512131121450.1030@karadi.cs.wisc.edu> <8641.1134497889@sss.pgh.pa.us> <Pine.LNX.4.58.0512131238280.1275@karadi.cs.wisc.edu> <9263.1134501011@sss.pgh.pa.us>

* 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