Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1elfqk-0000LM-53 for pgsql-general@arkaria.postgresql.org; Tue, 13 Feb 2018 19:02:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elfqj-00035F-6e for pgsql-general@arkaria.postgresql.org; Tue, 13 Feb 2018 19:02:41 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1elfqi-000354-SD for pgsql-general@lists.postgresql.org; Tue, 13 Feb 2018 19:02:41 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1elfqg-0002lJ-Go for pgsql-general@postgresql.org; Tue, 13 Feb 2018 19:02:39 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w1DJ2Xv1030406; Tue, 13 Feb 2018 14:02:33 -0500 From: Tom Lane To: Vikas Sharma cc: Laurenz Albe , pgsql-general@postgresql.org Subject: Re: Multiple postmasters running from same directory In-reply-to: References: <1518529333.2525.25.camel@cybertec.at> <6540.1518537032@sss.pgh.pa.us> Comments: In-reply-to Vikas Sharma message dated "Tue, 13 Feb 2018 18:53:41 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30404.1518548553.1@sss.pgh.pa.us> Date: Tue, 13 Feb 2018 14:02:33 -0500 Message-ID: <30405.1518548553@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Vikas Sharma writes: > So is it normal for postgres to fork out new postmaster processes from the > same data directory? I haven't seen this earlier. They're not postmasters, they're child processes, as you can easily tell from the PID/PPID columns of your ps output. But a process inherits its title from the parent at fork(), and per this discussion, they haven't changed it yet. regards, tom lane