From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Jay Madren <jay@jaymadren.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Windows service randomly stops with no indication why
Date: Fri, 8 Mar 2024 08:06:43 -0800
Message-ID: <1e5c9dcc-2b7e-42d5-ac1e-19f8fef002c4@aklaver.com> (raw)
In-Reply-To: <CANYmBTZ_RzNzVU-WUyM94d_fS-YxtFnqbtSjqbVi0aeufRWkpg@mail.gmail.com>
References: <CANYmBTZ_RzNzVU-WUyM94d_fS-YxtFnqbtSjqbVi0aeufRWkpg@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, jay@jaymadren.com
Subject: Re: Windows service randomly stops with no indication why
In-Reply-To: <1e5c9dcc-2b7e-42d5-ac1e-19f8fef002c4@aklaver.com>
References: <CANYmBTZ_RzNzVU-WUyM94d_fS-YxtFnqbtSjqbVi0aeufRWkpg@mail.gmail.com> <1e5c9dcc-2b7e-42d5-ac1e-19f8fef002c4@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox