Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggbY3-0003yE-1F for pgsql-admin@arkaria.postgresql.org; Mon, 07 Jan 2019 20:30:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ggbXz-0000Zg-1l for pgsql-admin@arkaria.postgresql.org; Mon, 07 Jan 2019 20:30:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggbXy-0000Vx-Ky for pgsql-admin@lists.postgresql.org; Mon, 07 Jan 2019 20:30:54 +0000 Received: from mx1.mailbox.org ([2001:67c:2050:104:0:1:25:1]) by makus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggbXv-0004or-7i for pgsql-admin@postgresql.org; Mon, 07 Jan 2019 20:30:53 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 52A134C126; Mon, 7 Jan 2019 21:30:44 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id JJcEUy4t-DS3; Mon, 7 Jan 2019 21:30:43 +0100 (CET) Message-ID: Subject: Re: Is there any way that one of the Postgres Background/Utility process may go down? From: Laurenz Albe To: rajan , pgsql-admin@postgresql.org Date: Mon, 07 Jan 2019 21:30:41 +0100 In-Reply-To: <1546490874712-0.post@n3.nabble.com> References: <1546422981227-0.post@n3.nabble.com> <1546424883710-0.post@n3.nabble.com> <31952.1546444240@sss.pgh.pa.us> <1546490874712-0.post@n3.nabble.com> Organization: Cybertec Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk rajan wrote: > Ok. Let me explain my use case from where I am asking this question, > > For configuring Postgres Monitoring using a tool, > Is it enough if I just add the Postmaster process alone for Monitoring? or > Should I add all background processes for Monitoring? I'd have the monitoring tool establish a database connection regularly. If that works, and you can run a simple SELECT, things look good. Other than that, the best you can do is monitor the database log file for nasty messages like PANIC. Unfortunately there is no simple rule to determine automatically which log entries are serious errors. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com