Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fGm5c-0002br-U2 for pgsql-general@arkaria.postgresql.org; Thu, 10 May 2018 13:58:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fGm5Y-0006Ix-4c for pgsql-general@arkaria.postgresql.org; Thu, 10 May 2018 13:58:32 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fGm5X-0006Im-PT for pgsql-general@lists.postgresql.org; Thu, 10 May 2018 13:58:31 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fGm5R-00009k-9G for pgsql-general@postgresql.org; Thu, 10 May 2018 13:58:30 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id EBEF0228C2; Thu, 10 May 2018 09:58:23 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 10 May 2018 09:58:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=OOJQU4703tihOWQoEbF/UIjNeVmLe Giksf+6sCV5pX0=; b=FtD47WqsnJASrERzB12C4hM7PqmNQZDLHJ0KTLYjX2/yI zHhuJHS6KdgRM0eDyoyfrsBOn3SENBzDMpAsE7G0kikpzFc4Ef81y4xYwkrZ/H9O nd7JJd3sQQVA8EQqkkQ/iZ9MXpZCYtzZAj5tqJ8GccC8lGFzBHH3RPZ5rlhNTmcJ 2aU7RyjTsTMlxD+X34qwp/w0j6703lwgdww2pP9+VZsbQg0YDBt/jbG93O7OCAaL IhxKpD3vgUrucTbSWqOSEyoWtHHZ0CnmvUonGZkC0Z1UpZzYQCYT9e28IAH3Mc6t lKmCzr6bPQbAeOq32f6Dkd3TEJJKCjBQ1mVDMmQrA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=OOJQU4 703tihOWQoEbF/UIjNeVmLeGiksf+6sCV5pX0=; b=Vx0jyApLmXqQA3ZBHXIZTU 5f0/j+l6uad950uP34dKOcJ6gXQk/Xby55WX/uxtkh5QX02Gsd57y624Q1wRpgYS nmIF8yUJwWwOhxy517HUsvy5o0ltAc0pgR9HjQanf5moZFAzjyiL/hTka8YSKbUY 2jvC5C1Jo1+beihtbVpKVIsDTk+Ec6OGIKXIjRUAQrcRt1Yb8FZzJoZjeLaSruor SCVPXtO1ly40SKdFUucyj7LuUA41TcRMY85M3pqDKnOYyvE2xZkUVLHyP/MdK6RI b+Au++sGfQumPoHUeSh0eYOwLwBn633v+9YmRcI6mgHm6lU0GakG+K6o0O5OUChA == X-ME-Sender: Received: from [192.168.1.2] (unknown [71.212.135.74]) by mail.messagingengine.com (Postfix) with ESMTPA id 5C798E43E8; Thu, 10 May 2018 09:58:23 -0400 (EDT) Subject: Re: Why is my Postgre server went in recovery mode all in sudden To: nikhil raj Cc: pgsql-admin@postgresql.com, pgsql-general@postgresql.org References: <1de3f909-7302-23fb-d9f7-0d35be51f6a5@aklaver.com> From: Adrian Klaver Message-ID: Date: Thu, 10 May 2018 06:58:22 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; 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 05/10/2018 04:42 AM, nikhil raj wrote: > 1) What OS and version? > > ans: windows 2012R2 > > 2) System memory size is ? > > ans: 32GB > > 3) What is session_start_timestamp tracking? In other words what does it > match up to here: > ans: This is the format to > timestamp=%m,user=%u,db=%d,app=%a,client=%h,transaction-ID=%x,session_start_timestamp=%s,SQL_state=%e >   The time when the session  is session_started _start_timestamp > > 4) What is the process that started 2018-04-26 10:08:19? > > ans:  Its an backed process of Postgre started parallel worker > > 5) The query in the log started at 2018-05-07 00:32:46, what is it doing? > ans : query running from an agent if any processing is going on the > front end some of the query will run So there is process that opens a connection, leaves it open and then periodically runs queries? Has the database shutdown happened again? -- Adrian Klaver adrian.klaver@aklaver.com