multiple process of PostgreSQL running on the same port and same directory - Mailing list pgsql-admin

From wenhang.pan
Subject multiple process of PostgreSQL running on the same port and same directory
Date
Msg-id 55B71FFF.8080601@qunar.com
Whole thread Raw
List pgsql-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 , 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.

pgsql-admin by date:

Previous
From: aven pan
Date:
Subject: Fwd: multiple process of PostgreSQL running on the same port and same directory
Next
From: aven pan
Date:
Subject: multiple process of PostgreSQL running on the same port and same directory