Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hOQrm-0003iP-HY for pgsql-general@arkaria.postgresql.org; Wed, 08 May 2019 18:00:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hOQrj-0003W7-LI for pgsql-general@arkaria.postgresql.org; Wed, 08 May 2019 18:00:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hOQri-0003No-V2 for pgsql-general@lists.postgresql.org; Wed, 08 May 2019 18:00:27 +0000 Received: from mail-oln040092009054.outbound.protection.outlook.com ([40.92.9.54] helo=NAM04-BN3-obe.outbound.protection.outlook.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hOQrf-0005IE-8l for pgsql-general@lists.postgresql.org; Wed, 08 May 2019 18:00:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vnOKRM2LYpX7Ys0btzhjj7v3owcBuGSOZAx8OwMX4/E=; b=rKJrd+6f3mGxhYKzgPXCx9zIIUlVUtPnw8ozake1Jcrtx5fHH7GfXxJz4S+NS1GrYjk2AmFwvguVLSj+qVFEqxXOm0wXSOQn79zQOXqzAFigTMi73Ek08blkwHCLLCBJL0Kkw4Tgka9Zr+v8hVdKJkqZha9B3lwIxmAt1faUBIcbXagmVHPOPtiNI6K4C7JCaPqXAKhtDiVHvJ9Tm5yk2siESLRCq4iyr/lqVe+RO3opQdnem7VbIhEGICpaDzciAefij65+Dm3kfpaB50a/43vis+UETjkjESF5YsQ4L4sIutzNf14DZ4eLYL+z4HL4KSmNURDg1h8rwcnCK9M9OA== Received: from BN3NAM04FT061.eop-NAM04.prod.protection.outlook.com (10.152.92.57) by BN3NAM04HT154.eop-NAM04.prod.protection.outlook.com (10.152.93.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1856.15; Wed, 8 May 2019 18:00:20 +0000 Received: from BYAPR08MB5014.namprd08.prod.outlook.com (10.152.92.60) by BN3NAM04FT061.mail.protection.outlook.com (10.152.92.233) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1856.15 via Frontend Transport; Wed, 8 May 2019 18:00:20 +0000 Received: from BYAPR08MB5014.namprd08.prod.outlook.com ([fe80::48b1:b5b3:66d1:7ac7]) by BYAPR08MB5014.namprd08.prod.outlook.com ([fe80::48b1:b5b3:66d1:7ac7%2]) with mapi id 15.20.1856.012; Wed, 8 May 2019 18:00:19 +0000 From: Julie Nishimura CC: "pgsql-general@lists.postgresql.org" , pgsql-general Subject: postgresql 9.4 restart Thread-Topic: postgresql 9.4 restart Thread-Index: AQHVBcfma83KtDbVuEyo1YNjnlTS8g== Date: Wed, 8 May 2019 18:00:19 +0000 Message-ID: References: <87o94ducuk.fsf@gmail.com>, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:05C3D6EBC17457354D23783F921A90446BC27110439FCDF691E686CEFA46100A;UpperCasedChecksum:A8B6D066DEBF814A8D159328B027594F331B119ABDC09489E036E9F0CCCCD620;SizeAsReceived:6872;Count:43 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [f9V9hgRkmibKKdaSO4WqQT52KmKseCiB] x-ms-publictraffictype: Email x-incomingheadercount: 43 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(5050001)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031323274)(2017031324274)(2017031322404)(1601125500)(1603101475)(1701031045);SRVR:BN3NAM04HT154; x-ms-traffictypediagnostic: BN3NAM04HT154: x-microsoft-antispam-message-info: JJugOUjOsKCDkoHmF0feq/RamvR17yrdV7q7S7saEO3a4jUXcrgiMpAKNGllCzo3z7d7F71w4uKzWhxduLxV0GjRNiD+jIwJErR0rFJYibGCgoYyY/Da1U2YO+P3NyMsCq6WvWMQ1yNnPhdvGSJ9/wRmXqVjUspz+EWdCqP+Vn0hPtB4PBoFXhdbjTk1qgIU Content-Type: multipart/alternative; boundary="_000_BYAPR08MB5014F151ACBD5FD717E1CACBAC320BYAPR08MB5014namp_" MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 81332e46-cabd-4d96-ba17-08d6d3df08d6 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2019 18:00:19.7690 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3NAM04HT154 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_BYAPR08MB5014F151ACBD5FD717E1CACBAC320BYAPR08MB5014namp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable 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=94, Then I could see that postgresql got restarted, based on the output of "sel= ect 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 --_000_BYAPR08MB5014F151ACBD5FD717E1CACBAC320BYAPR08MB5014namp_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Hello,
Our staging 9.4 postgresql has been running couple of weeks with no pr= oblem, but yesterday we saw this error from one of our services that connec= ts 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=94,

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 x= 86_64 x86_64 GNU/Linux

How I can find out what cause the restart? Any ideas are welcome. Than= ks!

-Julie N


--_000_BYAPR08MB5014F151ACBD5FD717E1CACBAC320BYAPR08MB5014namp_--