Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rickG-000eJD-JA for pgsql-general@arkaria.postgresql.org; Fri, 08 Mar 2024 16:06:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rickF-00DuLX-4n for pgsql-general@arkaria.postgresql.org; Fri, 08 Mar 2024 16:06:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rickD-00DuLO-F6 for pgsql-general@lists.postgresql.org; Fri, 08 Mar 2024 16:06:51 +0000 Received: from fout1-smtp.messagingengine.com ([103.168.172.144]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rick9-003VEo-LW for pgsql-general@lists.postgresql.org; Fri, 08 Mar 2024 16:06:48 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id DFAC513800E4; Fri, 8 Mar 2024 11:06:44 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 08 Mar 2024 11:06:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1709914004; x=1710000404; bh=2jJz5Xi0McY1ELKDJcjGWMRhcdjPPttFHWFEYn94Ym0=; b= RF7AU3bU2EHke63iGpcrDWTBgYHN1hdu+h/pO/3RRWPXRix20tfaD+lJC2NeLsbe BB+3nFSkduNuLX2eYCVn3WMPATIFzkQVcaR8HrcVppPEyu7XsDq9EUX37RzWGjNk WYlZZQYOMWLQ+0B/Qnx1fyHm+AA8n9Efhj7WBDGSTqXZsSvuVn3bAnc9GmOVdKX9 tJ/prU41DL/BNorV9g2K+9pmIpeLALKEAYgyJ7GD6aRxkKxwL+QxTO5b7vQua8WH FG4/JXjhQ5M9MU02nVE2HsR0KuWKrIWdWNskN73qsY7GpSHtN+KsppHCT1//2swQ kvkkuFp58ZNFMuuTi2Jn6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1709914004; x= 1710000404; bh=2jJz5Xi0McY1ELKDJcjGWMRhcdjPPttFHWFEYn94Ym0=; b=l TKv5IU6EuEY/mlJ6LmlY3RccZ/N1SIvtf0m7nepSQYCpfaRq9CaM5uWehm4B3e8e ze+C1BPZltohRhUTuMF3DWX6PaI2+k0M3ak49Xq+kVPwmN3s7DILKCVJEdFw9SLD jycF/cz0dYnnANBFlwazFCfH6Zgg1wq8keupUJTevTpxIfgiMHFvYAX7A9ol1f29 ftx5H4ht98FWWEGOaW0kHxMbx27rfZhPH3/lZvQwQK2kmYvTHUS3Ze/QXnjP+PHh Nxew/3/m216kiv76QLyJAryFa3yKttbxe0Lwi0l2JjNJpm1Z+ltv92ab8BGLb9dJ 1WDCH0Q9PM4K8SQ0UvI1A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrieehgdekgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekre dttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeffleegieefgf evudehtdfhkeeutdffjeevgeffgeejvedthefgudeiteefheejheenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvg hrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 8 Mar 2024 11:06:44 -0500 (EST) Message-ID: <1e5c9dcc-2b7e-42d5-ac1e-19f8fef002c4@aklaver.com> Date: Fri, 8 Mar 2024 08:06:43 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Windows service randomly stops with no indication why To: Jay Madren , pgsql-general@lists.postgresql.org References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/8/24 06:17, Jay Madren wrote: > Running PostgreSQL 15.6 on Windows Server 2022. The database service > randomly just stops and the Windows Service auto-restart options don't > kick in. The stop is unexpected (not a controlled shut down) because > after restarting the service the postgresql log states that the database > system was interrupted, not properly shut down, and automatic recovery > in progress. There's nothing to indicate exactly when it went down, > other than the timestamp of the last log entry before restarting it. I see this sort of thing on Windows I immediately suspect Anti-Virus software. Verify whether you have AV software running and if it is that it is scanning the Postgres files. > > There's also nothing I could find in the Windows Event Logs other than > when the service is started each time. > > This is occurring at random times, day or night, around 0 to 2 times > each day. > > Any clue as to what's happening or how to investigate this further? > > Thanks, > Jay -- Adrian Klaver adrian.klaver@aklaver.com