Multiple postmasters running from same directory

From: Vikas Sharma <shavikas(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Multiple postmasters running from same directory
Date: 2018-02-13 13:32:23
Message-ID: CAN6gwKzz8XLQwvs117eXAOWmYxXEOZqdqv-zCaVLTWyyTZMiTQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

We are running Postgresql 9.4 with streaming replication and repmgr.
Operating system is RHEL6.8

On the master I can see multiple postmaster processes from the same data
directory.

ps -ef |grep -i postgres|grep postm
postgres 81440 1 0 Jan31 ? 00:11:37
/usr/pgsql-9.4/bin/postmaster -D /var/lib/pgsql/9.4/data
postgres 97072 81440 0 12:17 ? 00:00:00
/usr/pgsql-9.4/bin/postmaster -D /var/lib/pgsql/9.4/data
postgres 97074 81440 0 12:17 ? 00:00:00
/usr/pgsql-9.4/bin/postmaster -D /var/lib/pgsql/9.4/data

The streaming replication with one standby looks fine.

I was expecting to see only one postmaster process instead of three and the
time shown in PS output for two extra processes changes to current time
with every PS command I enter. Secondly, I logfile is full of "Incomplete
startup packet" message.

I need help from you experts, Is this the right behaviour of postgres? what
could have gone wrong in my case.

Best Regards
Vikas

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2018-02-13 13:42:13 Re: Multiple postmasters running from same directory
Previous Message Francisco Olarte 2018-02-13 11:42:44 Re: Require assistance in Postgres + Hibernate : Error: java.math.BigInteger cannot be cast to java.math.BigDecimal