Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7QHg-00071b-Ty for pgsql-admin@arkaria.postgresql.org; Mon, 30 May 2016 16:43:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b7QHg-0005lg-Gn for pgsql-admin@arkaria.postgresql.org; Mon, 30 May 2016 16:43:20 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b7QHg-0005lZ-1z for pgsql-admin@postgresql.org; Mon, 30 May 2016 16:43:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b7QHY-00013m-KL for pgsql-admin@postgresql.org; Mon, 30 May 2016 16:43:19 +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 u4UGhB0a012881; Mon, 30 May 2016 12:43:11 -0400 From: Tom Lane To: =?UTF-8?Q?Nagy_L=c3=a1szl=c3=b3_Zsolt?= cc: pgsql-admin@postgresql.org Subject: Re: Could not shut down DB In-reply-to: References: Comments: In-reply-to =?UTF-8?Q?Nagy_L=c3=a1szl=c3=b3_Zsolt?= message dated "Mon, 30 May 2016 07:26:43 +0200" Date: Mon, 30 May 2016 12:43:11 -0400 Message-ID: <12880.1464626591@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org =?UTF-8?Q?Nagy_L=c3=a1szl=c3=b3_Zsolt?= writes: > I could stop it with: > pg_ctl stop -i i > but before that: > May 30 07:21:00 appserver postgres[65202]: [5-1] FATAL: the database > system is shutting down > May 30 07:21:00 appserver postgres[65203]: [5-1] FATAL: the database > system is shutting down > May 30 07:21:00 appserver postgres[65206]: [5-1] FATAL: the database > system is shutting down > It happened in the weekend, and the server log does not contain anything > except these "FATAL: shutting down" messages, so I'm not able to tell > when is started. Any idea what could possible cause this error? Well, the default-until-recently "smart" shutdown mode would wait for all existing sessions to finish, while not letting any new ones in. That sure looks like what you have here. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin