pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Julie Nishimura <juliezain@hotmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: postgresql 9.4 restart
Date: Wed, 8 May 2019 12:07:50 -0700
Message-ID: <b5beb46e-0274-e481-6dd2-b29ae65dbb77@aklaver.com> (raw)
In-Reply-To: <BYAPR08MB5014F151ACBD5FD717E1CACBAC320@BYAPR08MB5014.namprd08.prod.outlook.com>
References: <CAMBRECBD2MohP0HLL5OvxHSX4bzgErQnmY6D7xsXtPEWgdRg1w@mail.gmail.com>
	<87o94ducuk.fsf@gmail.com>
	<CABvVfJV8+QXZS6uKRQHACsDEmdcNXKbrSvTjLQ28t6CMS5JwPw@mail.gmail.com>
	<BYAPR08MB5014F151ACBD5FD717E1CACBAC320@BYAPR08MB5014.namprd08.prod.outlook.com>

On 5/8/19 11:00 AM, Julie Nishimura wrote:
> Hello,
> Our staging 9.4 postgresql has been running couple of weeks with no 
> problem, but yesterday we saw this error from one of our services that 
> connects to the staging DBs:
> 
> FATAL: terminating connection due to
> administrator command; nested exception is
> org.postgresql.util.PSQLException: FATAL: terminating connection due to
> administrator command”,

Distro and version?

Well it originated in Java code if that helps?

Anything in the Postgres logs just prior to 'FATAL: terminating 
connection ...' that might be relevant?

Do the system logs showing anything relevant e.g. the OOM killer 
stopping Postgres?



> 
> Then I could see that postgresql got restarted, based on the output of 
> "select pg_postmaster_start_time()"
> 
> We are running postgresql on
> Linux xxx-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 
> x86_64 x86_64 GNU/Linux
> 
> How I can find out what cause the restart? Any ideas are welcome. Thanks!
> 
> -Julie N
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (9+ messages)  latest in thread

Message-ID: <b5beb46e-0274-e481-6dd2-b29ae65dbb77@aklaver.com>
Permalink:  ../b5beb46e-0274-e481-6dd2-b29ae65dbb77@aklaver.com/
Also on:    postgresql.org/message-id/b5beb46e-0274-e481-6dd2-b29ae65dbb77@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, juliezain@hotmail.com
  Subject: Re: postgresql 9.4 restart
  In-Reply-To: <b5beb46e-0274-e481-6dd2-b29ae65dbb77@aklaver.com>
  References: <CAMBRECBD2MohP0HLL5OvxHSX4bzgErQnmY6D7xsXtPEWgdRg1w@mail.gmail.com> <87o94ducuk.fsf@gmail.com> <CABvVfJV8+QXZS6uKRQHACsDEmdcNXKbrSvTjLQ28t6CMS5JwPw@mail.gmail.com> <BYAPR08MB5014F151ACBD5FD717E1CACBAC320@BYAPR08MB5014.namprd08.prod.outlook.com> <b5beb46e-0274-e481-6dd2-b29ae65dbb77@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