pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: wenhang.pan <wenhang.pan@qunar.com>
To: pgsql-admin@postgresql.org
Subject: multiple process of PostgreSQL running on the same port and same directory
Date: Tue, 28 Jul 2015 14:23:59 +0800
Message-ID: <55B71FFF.8080601@qunar.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

This is the processes I catched:

postgres 5260 0.0 0.0 1224332 37232 ? S Jul13 0:13 \
/opt/pg94/bin/postgres -D /export/pg940_data

postgres 31193 0.0 0.0 1224332 976 ? Ss 00:20 0:00 \
/opt/pg94/bin/postgres -D /export/pg940_data

I found the similar question: ps output shows multiple instances of 
PostgreSQL running on the same port 
<http://www.postgresql.org/message-id/27699.1347932194@sss.pgh.pa.us; , 
but I wanna konw when to fork a postmaster process, and what does it do.

PostgreSQL version:
postgres=# select version();
version
--------------------------------------------------------------------------------------------------------------
  PostgreSQL 9.4.4 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 
4.4.7 20120313 (Red Hat 4.4.7-3), 64-bit
(1 row)

Thanks.

view thread (3+ messages)  latest in thread

Message-ID: <55B71FFF.8080601@qunar.com>
Permalink:  ../55B71FFF.8080601@qunar.com/
Also on:    postgresql.org/message-id/55B71FFF.8080601@qunar.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: wenhang.pan@qunar.com
  Subject: Re: multiple process of PostgreSQL running on the same port and same directory
  In-Reply-To: <55B71FFF.8080601@qunar.com>

* 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