pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedFwd: Postgres.exe crashes and tears down all apps, recovers and is running again
5+ messages / 4 participants
[nested] [flat]
* Fwd: Postgres.exe crashes and tears down all apps, recovers and is running again
@ 2021-07-22 09:52 Beat Hoedl <beat.hoedl@gmail.com>
0 siblings, 3 replies; 5+ messages in thread
From: Beat Hoedl @ 2021-07-22 09:52 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org; +Cc: beat.hoedl@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
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Fwd: Postgres.exe crashes and tears down all apps, recovers and is running again
@ 2021-07-22 10:07 Julien Rouhaud <rjuju123@gmail.com>
parent: Beat Hoedl <beat.hoedl@gmail.com>
2 siblings, 0 replies; 5+ messages in thread
From: Julien Rouhaud @ 2021-07-22 10:07 UTC (permalink / raw)
To: Beat Hoedl <beat.hoedl@gmail.com>; +Cc: pgsql-general@lists.postgresql.org
On Thu, Jul 22, 2021 at 11:52:55AM +0200, Beat Hoedl wrote:
>
> Have a bunch of processes connected to Postgres (10.0) [...]
>
> So the problem leaves me puzzled.
> Would be great if somebody has some ideas how to continue investigation.
The first thing you need to do is to update to 10.17 and get the almost 4 years
of bug fixes that have been released since.
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Fwd: Postgres.exe crashes and tears down all apps, recovers and is running again
@ 2021-07-22 12:20 Thomas Kellerer <shammat@gmx.net>
parent: Beat Hoedl <beat.hoedl@gmail.com>
2 siblings, 0 replies; 5+ messages in thread
From: Thomas Kellerer @ 2021-07-22 12:20 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
Beat Hoedl schrieb am 22.07.2021 um 11:52:
> BTW: There is no virus scanner on the postgres folder and it's a productive system, I cant just update.
Quote from the Postgres homepage https://www.postgresql.org/support/versioning/
> For minor releases, the community considers not upgrading to be riskier than upgrading.
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Fwd: Postgres.exe crashes and tears down all apps, recovers and is running again
@ 2021-07-22 14:21 Ron <ronljohnsonjr@gmail.com>
parent: Beat Hoedl <beat.hoedl@gmail.com>
2 siblings, 1 reply; 5+ messages in thread
From: Ron @ 2021-07-22 14:21 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
On 7/22/21 4:52 AM, Beat Hoedl wrote:
[snip]
> BTW: There is no virus scanner on the postgres folder and it's a
> productive system, I cant just update.
>
There's *always* a maintenance window, even if it's just once a year on
Christmas. Or are you saying that Windows isn't being patched either?
--
Angular momentum makes the world go 'round.
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Fwd: Postgres.exe crashes and tears down all apps, recovers and is running again
@ 2021-07-22 14:25 Julien Rouhaud <rjuju123@gmail.com>
parent: Ron <ronljohnsonjr@gmail.com>
0 siblings, 0 replies; 5+ messages in thread
From: Julien Rouhaud @ 2021-07-22 14:25 UTC (permalink / raw)
To: Ron <ronljohnsonjr@gmail.com>; +Cc: pgsql-general@lists.postgresql.org
On Thu, Jul 22, 2021 at 09:21:56AM -0500, Ron wrote:
> On 7/22/21 4:52 AM, Beat Hoedl wrote:
> [snip]
> > BTW: There is no virus scanner on the postgres folder and it's a
> > productive system, I cant just update.
> >
>
> There's *always* a maintenance window, even if it's just once a year on
> Christmas. Or are you saying that Windows isn't being patched either?
Especially since the OP reported that they experience a crash every 5 to 10
days.
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2021-07-22 14:25 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-07-22 09:52 Fwd: Postgres.exe crashes and tears down all apps, recovers and is running again Beat Hoedl <beat.hoedl@gmail.com>
2021-07-22 10:07 ` Julien Rouhaud <rjuju123@gmail.com>
2021-07-22 12:20 ` Thomas Kellerer <shammat@gmx.net>
2021-07-22 14:21 ` Ron <ronljohnsonjr@gmail.com>
2021-07-22 14:25 ` Julien Rouhaud <rjuju123@gmail.com>
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