Re: multiple postmasters

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: David Mehringer <dmehring(at)astro(dot)uiuc(dot)edu>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: multiple postmasters
Date: 2001-01-10 18:56:48
Message-ID: Pine.LNX.4.30.0101101954390.22819-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

David Mehringer writes:

> We're running postgresql 7.0.2 on solaris 5.7. The admin docs say that only
> one postmaster process should be running.

The docs are wrong in that case. Can you name chapter and section so we
can fix it?

> However, our "master" postmaster
> process (PID=560 below) appears to have spawned off a couple of other
> postmaster processes:
>
> UID PID PPID C STIME TTY TIME CMD
> bimaadm 560 1 0 Nov 27 ? 1:24 /appl/bima/pgsql/bin/postmaster -S -i
> bimaadm 10237 560 0 17:16:53 ? 0:04 /appl/bima/pgsql/bin/postmaster -S -i
> bimaadm 10240 560 0 17:17:00 ? 0:06 /appl/bima/pgsql/bin/postmaster -S -i
>
> Is this normal? If not, what could be the cause of this?

Notice how the PPID (parent pid) of the second and third process refers to
the first one. The first process is the "postmaster" you started (by init
apparently), the second and third ones got forked to handle connections.
(one process per connection)

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David Mehringer 2001-01-10 19:34:34 Re: multiple postmasters
Previous Message David Mehringer 2001-01-10 18:26:14 multiple postmasters