Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEaR3-0003lx-Pr for pgsql-general@arkaria.postgresql.org; Fri, 13 Aug 2021 16:53:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mEaR2-00039X-NC for pgsql-general@arkaria.postgresql.org; Fri, 13 Aug 2021 16:53:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEZD7-0008HV-3r; Fri, 13 Aug 2021 15:35:05 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEZD4-00011s-HM; Fri, 13 Aug 2021 15:35:04 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 0F35032009D5; Fri, 13 Aug 2021 11:34:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 13 Aug 2021 11:34:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=6 Zi0vAG/GMr7Wk3negxneAPBLfeYMbcOyi7bG/Lg0Pc=; b=Zx25F4Zf4UujStKm6 Qc5GwjhUIalSa3u7YWszVyhDpiO7ZVKd3vov4KjqbPOYPbpgs3+SLJv6Ut7hc8qc tJpCMYfPgC9SQ0r80n0N/KGomxMmR69ezDLGH16ysBEQ1kTHJxyA7VAwizXlVzOf iDycRdDsWLvwyVJuco/G9HX7wWhjFmRinEoCM9PGTU9nib7+YZreB8rQ8JbRpJgz jo5Qh9hNcJ+tERyqUc6dNFya9/hD/oY4C+Ypk8hdrk9n3ZTx8BqHSr5/w+XGCHaF RmObFrh7qcHjoqtO3nMrPRRRcdRSjb8orWcnhrtvZD3w4KYDZwJLtK8SNYf+9aTk 7/Hfw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=6Zi0vAG/GMr7Wk3negxneAPBLfeYMbcOyi7bG/Lg0 Pc=; b=vDXhEYBsjtf02I7zG6GDW2qYTvP6g3BYzxPKuL4WA+/LADxzHjwV+qzs/ GF++Yn+CLmKStPFE2eRHeOLF6MX+gRtMhQe2wRZcENnSTWIc9fQDXMpZ2/IfQoBZ JET55VfL9TIf6d9pLPB4M17lhHl+eQWhwBmk8LczWpzauPBhGJeKNyvFP+xNmxSr adyKOxokV/GI9lIaE2U9M5ujeADUiDqgvR2Y/7c1QvyhlTm+27aVV67aMq6KiI6p JZyaOOrwwIEWgVX2KnM+jAJVOWRiI18u7GUxVsgrmCSc73v8XueMmHy9nFVJOYIy XsHVge/GsiK5j6eeK/IFmqYgfSFbw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrkeehgdelvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeehnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuggftrfgrthhtvghrnhepvdekhfehhfelkeejueeuleehvdegjeefheelffethfdt fefffeegteffgfehfeffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 13 Aug 2021 11:34:57 -0400 (EDT) Subject: Re: Multiple Postgres process are running in background To: Ram Charan Kallem , "pgsql-hackers@lists.postgresql.org" , "pgsql-general@lists.postgresql.org" References: From: Adrian Klaver Message-ID: Date: Fri, 13 Aug 2021 08:34:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 8/13/21 3:20 AM, Ram Charan Kallem wrote: > Hi, > > We are using Postgres 10 (Single client)and observed that there are > multiple PostgreSQL Server process are running in background. > > Why these additional process are created  or is this an expected behavior. Yes. From my Linux machine: ps ax | grep postgres 818 ? Ss 0:00 /usr/local/pgsql12/bin/postgres -D /usr/local/pgsql12_test/data 906 ? Ss 0:00 /usr/local/pgsql12/bin/postgres -D /usr/local/pgsql12/data 954 ? Ss 0:00 postgres: logger 982 ? Ss 0:00 postgres: logger 984 ? Ss 0:00 postgres: checkpointer 985 ? Ss 0:00 postgres: background writer 986 ? Ss 0:00 postgres: walwriter 987 ? Ss 0:00 postgres: autovacuum launcher 988 ? Ss 0:00 postgres: stats collector 989 ? Ss 0:00 postgres: logical replication launcher 1001 ? Ss 0:00 postgres: checkpointer 1002 ? Ss 0:00 postgres: background writer 1003 ? Ss 0:00 postgres: walwriter 1004 ? Ss 0:00 postgres: autovacuum launcher 1005 ? Ss 0:00 postgres: stats collector 1006 ? Ss 0:00 postgres: logical replication launcher 7204 pts/0 S+ 0:00 psql -d test -U postgres 7205 ? Ss 0:00 postgres: postgres test [local] idle 7250 pts/1 S+ 0:00 psql -d production -U postgres -p 5442 7251 ? Ss 0:00 postgres: postgres production [local] idle 7296 pts/2 S+ 0:00 grep --color=auto postgres There are background processes that run as well as process for each connection. > > Regards, > > RamCharan > -- Adrian Klaver adrian.klaver@aklaver.com