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 1kc8Ao-0000wi-W1 for pgsql-general@arkaria.postgresql.org; Mon, 09 Nov 2020 14:29:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kc8An-0004Cf-V1 for pgsql-general@arkaria.postgresql.org; Mon, 09 Nov 2020 14:29:33 +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 1kc8Am-0004CY-Tu for pgsql-general@lists.postgresql.org; Mon, 09 Nov 2020 14:29:33 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kc8Ak-0002OE-0d for pgsql-general@postgresql.org; Mon, 09 Nov 2020 14:29:32 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id DB3B013A5; Mon, 9 Nov 2020 09:29:27 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 09 Nov 2020 09:29:28 -0500 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=fm1; bh=Y +DNE3ONnjAVcs79AIR5NXkWrGBO5iAUin1wYKLoNWU=; b=qjE/b/SOxncac4XGY Xj3knWoEs2h2Hd4BTfN/qv2pLk4ICH+kPCfWOj7c29hc/9hPl4yKqEompn3JZbzG iuOq5FhFVc35kUjioW8saHyjOB7CJRny9Aye6OIndLMzR3h1ZKSUc9ErU6rB2+Sn NumKUpTgJvYIngt5mFleiss6i5EnuBj30ohYduiqIlsaTjBMBLLgfIxPL20zixqx dap9EfoMgsCCjJEPRPqUwDOs8TsHtS0+TZsT4WtGVUXSZyeUht0SZM7m2JxSvxK6 GX1gkD69+RsnVRrxLEjKwpexGRUYYfx9sbLJLr/GM0GN6y1Wv2mrgHGpVS3tIVfU y5cLw== 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=fm1; bh=Y+DNE3ONnjAVcs79AIR5NXkWrGBO5iAUin1wYKLoN WU=; b=CFjrSUr1d1WoeignWH+pAh1bF/YFM/haqJN9ASvqE+L5XiI/FL9iTOTZL pBPw0663SRweSXlctoRGYiGLD76vmHyip3yHM3hDl+Cbl5ATF1XcMSD187Song57 TAzBodGzt3lSuwQFD4QdjrIQJyAiX2MXszGtSIHJHWRfcwJHnJOFBZusyaOTqAtQ jTkKlSDLNe/7PJjrLJDSw1NOoGXxNG+ZKNObumhrYlKJhHCTKhiyKsG8wlo89ot8 DzbVJ5zC3OE1D85DVx6NiDdd16DXL538gRZbHpAZhPGFIIJegN6newKOkefJiUqH cVncmo8wBpHLN3cdhWbhqaKa5cnFA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudduhedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefheenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpedvkefhhefhleekjeeuueelhedvgeejfeehlefftefh tdefffefgeetfffgheefffenucfkphepjeehrddujedvrdduledrudefleenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.4] (75-172-19-139.tukw.qwest.net [75.172.19.139]) by mail.messagingengine.com (Postfix) with ESMTPA id DA4693063067; Mon, 9 Nov 2020 09:29:26 -0500 (EST) Subject: Re: Database system was interrupted. Possible reasons for a database to suddenly stop accepting connections? To: "Buzenets, Yuriy (GE Renewable Energy, consultant)" , "pgsql-general@postgresql.org" References: From: Adrian Klaver Message-ID: Date: Mon, 9 Nov 2020 06:29:25 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.1 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: Precedence: bulk On 11/9/20 5:53 AM, Buzenets, Yuriy (GE Renewable Energy, consultant) wrote: > Some time ago the database at my work suddenly stopped accepting > connections. In the logs there was a message “the database system was > interrupted; last known up at 2020-10-29 12:03:16 PDT”, followed by a > lot of “the database system is starting up” messages. It seems like the > database tried to recover from whatever failure occurred but recovery > was not successful until the database process was shut down and > restarted. The latest error message before “system was interrupted” > occurs 13 minutes before so it’s not clear to us what could cause this > issue and why the database process had to be restarted. If anyone could > help us understand what might’ve been the cause, we would greatly > appreciate it. We’re using PostgreSQL 9.4 on CentOS 6.8, we know it > reached EOL and plan to upgrade to a newer version soon. I’ve also > attached the log file from the time the database system was unavailable > if it helps to figure out the cause of the outage There are a lot of 'terminating connection due to administrator command' lines. How many connections where/are being used to this server? > > Thanks, > > Yuriy Buzenets > -- Adrian Klaver adrian.klaver@aklaver.com