From: Beat Hoedl <beat.hoedl@gmail.com>
To: pgsql-general@lists.postgresql.org
Cc: beat.hoedl@gmail.com
Subject: Fwd: Postgres.exe crashes and tears down all apps, recovers and is running again
Date: Thu, 22 Jul 2021 11:52:55 +0200
Message-ID: <8db8ae8f-52b5-a716-1800-9a84bca6354e@gmail.com> (raw)
In-Reply-To: <2db3bba8-5ace-3799-e55a-c90836a14e6b@gmail.com>
References: <2db3bba8-5ace-3799-e55a-c90836a14e6b@gmail.com>
Hi
Have a bunch of processes connected to Postgres (10.0) on windows server
2016. The software was running without problems for at least a year.
Each process is doing different actions.
Every about 5-10 days a postgres.exe running for one of the application
processes crashes, tears down everything. Database recorves and then it
works again as normal.
The wierd thing is it's not always the same application process which
starts the whole sequence.
One success situation is as follows
2021-07-12 07:33:52.701 CEST [5744] LOG: duration: 0.020 ms statement:
COMMIT
2021-07-12 07:33:52.707 CEST [5744] LOG: duration: 0.023 ms statement:
DISCARD ALL
2021-07-12 07:33:52.707 CEST [5744] LOG: duration: 0.005 ms statement:
BEGIN
2021-07-12 07:33:52.707 CEST [5744] LOG: duration: 0.011 ms statement:
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
.....
The same potgres.exe crashes afterwards
2021-07-12 07:33:55.321 CEST [5744] LOG: duration: 0.032 ms statement:
COMMIT
2021-07-12 07:34:32.660 CEST [3972] LOG: server process (PID 5744) was
terminated by exception 0xFFFFFFFF
The COMMIT was the last successfull action in the database. I verified
the existence of the data in the database.
The new job at 07:34 caused the crash immediately.
Since I dont see DISCARD ALL/BEGIN/SET TRANSACTION my interpretation is
this:
The possible (if any) corrupted shared memory is caused by an other
postgres.exe process.
Therfore checked all actions before these crashes. But also her it's
always a different one.
BTW: There is no virus scanner on the postgres folder and it's a
productive system, I cant just update.
So the problem leaves me puzzled.
Would be great if somebody has some ideas how to continue investigation.
Thanks
Beat
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: beat.hoedl@gmail.com
Subject: Re: Fwd: Postgres.exe crashes and tears down all apps, recovers and is running again
In-Reply-To: <8db8ae8f-52b5-a716-1800-9a84bca6354e@gmail.com>
References: <2db3bba8-5ace-3799-e55a-c90836a14e6b@gmail.com> <8db8ae8f-52b5-a716-1800-9a84bca6354e@gmail.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