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 1h5A4q-0003uW-Ct for pgsql-bugs@arkaria.postgresql.org; Sat, 16 Mar 2019 14:14:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h5A4n-0000X3-A9 for pgsql-bugs@arkaria.postgresql.org; Sat, 16 Mar 2019 14:14:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5A4n-0000Ww-3r for pgsql-bugs@lists.postgresql.org; Sat, 16 Mar 2019 14:14:17 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5A4k-00044o-RB for pgsql-bugs@lists.postgresql.org; Sat, 16 Mar 2019 14:14:16 +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 x2GEE9vg013647; Sat, 16 Mar 2019 10:14:09 -0400 From: Tom Lane To: aleksandr.newray@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15697: Restarting the server because of the error checkpointer In-reply-to: <15697-150d75b6fe4fa61f@postgresql.org> References: <15697-150d75b6fe4fa61f@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Sat, 16 Mar 2019 07:59:13 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13645.1552745649.1@sss.pgh.pa.us> Date: Sat, 16 Mar 2019 10:14:09 -0400 Message-ID: <13646.1552745649@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Bug reporting form writes: > I have a website using postgresql on my vps. I get an error restarting > postgresql server: > 2019-03-15 05:58:53.305 UTC [1329] LOG: shutting down > 2019-03-15 05:58:53.313 UTC [1311] LOG: checkpointer process (PID 1329) > exited with exit code 0 > 2019-03-15 05:58:53.313 UTC [1311] LOG: terminating any other active server > processes Taking this at face value, it says that the checkpointer child process exited before it was supposed to. Given that it exited with exit(0), that seems to mean that something sent it SIGUSR2, which is the normal-shutdown signal that the postmaster would have sent it later on. It's difficult to say anything beyond that on this much evidence, but I suspect that there are moving parts you haven't told us about. Are you using a nonstandard shutdown script? Maybe there are poorly- debugged extensions installed? regards, tom lane