pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: nikhil raj <nikhilraj474@gmail.com>
Cc: pgsql-admin@postgresql.com
Cc: pgsql-general@postgresql.org
Subject: Re: Why is my Postgre server went in recovery mode all in sudden
Date: Fri, 11 May 2018 06:36:32 -0700
Message-ID: <800638d3-5a16-50da-a417-21c73ef49943@aklaver.com> (raw)
In-Reply-To: <CAG1ps1wpBtGOaFWxc0uooQG4zcoDZz_+sLGxw=u2oma0SLhreQ@mail.gmail.com>
References: <CAG1ps1yFsBXZtsFi80Ei8VehHh29WSX-0-4DOdwekAeBoV+bwQ@mail.gmail.com>
	<1de3f909-7302-23fb-d9f7-0d35be51f6a5@aklaver.com>
	<CAG1ps1z_5cEnjn54=3wrcLx55itmYcBgb42TvoyRjKmixKNahQ@mail.gmail.com>
	<d9cc8b9e-5a3a-3bb4-cae7-ba98f434788a@aklaver.com>
	<CAG1ps1wpBtGOaFWxc0uooQG4zcoDZz_+sLGxw=u2oma0SLhreQ@mail.gmail.com>

On 05/11/2018 03:30 AM, nikhil raj wrote:
> Hi Adrian Klaver,
> 
> No its like it opensĀ  connection and once the query gets execute it goes 
> to idle connection and again idle connection time out i kept it for 2 mins .
> 
> It never happen again.
> 
> need few answers
> why will share buffer crashes ?

 From the error message it was maybe shared memory:

"The postmaster has commanded this server process to roll back the 
current transaction and exit, because another server process exited 
abnormally and possibly corrupted shared memory."

I don't have an answer as it is not clear to me what process triggered 
the exit. My suspicion is it was this:

"timestamp=2018-05-07 00:34:11.209 
EDT,user=,db=,app=,client=,transaction-ID=0,session_start_timestamp=2018-04-26 
10:08:19 EDT,SQL_state=00000LOG:  worker process: parallel worker for 
PID 2864 (PID 4476) exited with exit code 0"

To me it looks like a parallel query process that ran for 11 days.
Is that possible and do you know what the query was doing?

> 
> Thanks,
> 
> 
> 



-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (6+ messages)

Message-ID: <800638d3-5a16-50da-a417-21c73ef49943@aklaver.com>
Permalink:  ../800638d3-5a16-50da-a417-21c73ef49943@aklaver.com/
Also on:    postgresql.org/message-id/800638d3-5a16-50da-a417-21c73ef49943@aklaver.com

 · 

reply

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, nikhilraj474@gmail.com, pgsql-admin@postgresql.com
  Subject: Re: Why is my Postgre server went in recovery mode all in sudden
  In-Reply-To: <800638d3-5a16-50da-a417-21c73ef49943@aklaver.com>
  References: <CAG1ps1yFsBXZtsFi80Ei8VehHh29WSX-0-4DOdwekAeBoV+bwQ@mail.gmail.com> <1de3f909-7302-23fb-d9f7-0d35be51f6a5@aklaver.com> <CAG1ps1z_5cEnjn54=3wrcLx55itmYcBgb42TvoyRjKmixKNahQ@mail.gmail.com> <d9cc8b9e-5a3a-3bb4-cae7-ba98f434788a@aklaver.com> <CAG1ps1wpBtGOaFWxc0uooQG4zcoDZz_+sLGxw=u2oma0SLhreQ@mail.gmail.com> <800638d3-5a16-50da-a417-21c73ef49943@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