Re: How many postmasters should be running? - Mailing list pgsql-general

From Michael Fuhr
Subject Re: How many postmasters should be running?
Date
Msg-id 20060228025920.GA81554@winnie.fuhr.org
Whole thread Raw
In response to How many postmasters should be running?  ("Stock, Stuart" <Stuart.Stock@DrKW.com>)
Responses Re: How many postmasters should be running?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Mon, Feb 27, 2006 at 09:05:51PM -0500, Stock, Stuart wrote:
> A few minutes ago, we were surprised to find a second postmaster process
> running on our database machine as a child of the original postmaster. The
> child postmaster was around for about a minute then disappeared. This is a
> Opteron machine running RedHat AS4 with Postgres 8.1.2.
>
> Does the postmaster process ever spawn a child postmaster? Is this normal?

Each connection causes the postmaster to fork a new process to
handle that connection.  When the connection ends so does that
process; that might be what you saw.  For more information see the
"Monitoring Database Activity" and postmaster documentation:

http://www.postgresql.org/docs/8.1/interactive/monitoring.html
http://www.postgresql.org/docs/8.1/interactive/app-postmaster.html

--
Michael Fuhr

pgsql-general by date:

Previous
From: Randy Yates
Date:
Subject: Re: postgresql documentation
Next
From: "Natasha Galkina"
Date:
Subject: Re: rotate records