Re: postmaster process - Mailing list pgsql-general

From Magnus Naeslund(f)
Subject Re: postmaster process
Date
Msg-id 075601c29a55$49d070d0$f80c0a0a@mnd
Whole thread Raw
In response to postmaster process  ("Al Bean" <albean84@hotmail.com>)
List pgsql-general
Al Bean <albean84@hotmail.com> wrote:
> Hi,
>
> I just started working with postgres.  When I do a top and display
> all the processes for the postgres user I notice that there are three
> postmaster processes.  I'm just wondering if its normal for three to
> be running.  Is there are way to increase / decrease this number?
>
> Thanks,
> Al
>

Yes it's normal.
The three processes do different things:

postmaster <- main postgresql process
postgres: stats buffer process
postgres: stats collector process

The processes are forked so they don't take as much extra memory as one
would think.
Also there will be one more per session to the database.

Magnus


pgsql-general by date:

Previous
From: "Al Bean"
Date:
Subject: postmaster process
Next
From: Aasmund Midttun Godal
Date:
Subject: Re: --with-tcl