pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Charles Martin <ssappeals@gmail.com>
To: pgsql-general <pgsql-general@postgresql.org>
To: Laurenz Albe <laurenz.albe@cybertec.at>
To: Andreas Kretschmer <andreas@a-kretschmer.de>
Subject: Re: Trouble Upgrading Postgres
Date: Sun, 4 Nov 2018 12:13:32 -0800
Message-ID: <10885f27-4b59-6e93-38f7-a03c0b96e906@aklaver.com> (raw)
In-Reply-To: <CAFw6=U04tmKYe-78uUchSpjPeXnWd+vhOt_PozwJpRf2Fwc6QA@mail.gmail.com>
References: <CAFw6=U2oz9rTF0qa0LFMg91bu=hdisfu2-xXU1==D7yBif+2uw@mail.gmail.com>
	<529c7e29-38eb-0b22-379a-f78e638b97bd@aklaver.com>
	<CAFw6=U09NDUULsrtchBBLxA0z-nCqteUEhB_KODbKk9cymqeJg@mail.gmail.com>
	<cafc1eb5-b54c-cb31-b085-5b7ff243e273@aklaver.com>
	<CAFw6=U1S3-HzC2Bf+X7aZtFU4DKjZAWbztkscTnw6_TzNkueZg@mail.gmail.com>
	<18968e03-6342-a01e-3423-04642e15390b@aklaver.com>
	<CAFw6=U04tmKYe-78uUchSpjPeXnWd+vhOt_PozwJpRf2Fwc6QA@mail.gmail.com>

On 11/4/18 8:38 AM, Charles Martin wrote:
> 
> Adtrian said:
>>> pg_dump: Error message from server: server closed the connection 
>>> unexpectedly
> 
>  >Is this error the client reporting?
>  >Is this the same that is showing up in the server log?
> 
> Yes, that's the client message, i.e. what appeared in the terminal 
> window that gave the command. The server log shows:
> 
> 2018-11-02 20:30:46 EDT [20405]: [4-1] user=,db= LOG:  server process 
> (PID 30438) was terminated by signal 9: Killed
> 
> 2018-11-02 20:30:46 EDT [20405]: [5-1] user=,db= DETAIL:  Failed process 
> was running: COPY public.docfile (docfile_pkey, docfileoriginalname, 
> ordernumber, versionnum, docfilecontents, docfilepath, d$
> 
> 2018-11-02 20:30:46 EDT [20405]: [6-1] user=,db= LOG:  terminating any 
> other active server processes
> 
> 2018-11-02 20:30:46 EDT [20415]: [10-1] user=,db= WARNING:  terminating 
> connection because of crash of another server process
> 
> 2018-11-02 20:30:46 EDT [20415]: [11-1] user=,db= DETAIL:  The 
> postmaster has commanded this server process to roll back the current 
> transaction and exit, because another server process exited abnor$
> 
> 
> 
>>So where is the server located relative to the pg_dump client?
>>On the same machine?
>>If so is it a virtual machine e.g AWS?
>>Across a local or remote network?
> 
> 
>   I gave the command in a terminal session after SSHing to the server 
> from the same network. It is not a virtual machine.
> 
> 
> Lsaurenz said:
> 
> 
>>You probably have a corrupted database.
>>You should get that fixed first, then you can upgrade.
>>Maybe you should hire a professional for that.
> 
> 
> I suspect this is is correct, both that there is corruption in the table 
> and that I need a professional to help. If someone here is available, 
> I'm interested.

Given that this involves your largest table I would confirm that the 
signal 9 kill was not coming from the system OOM killer. Take a look at 
the system logs to see what they show over the same time period.

> 
> 
> Andreas said:
> 
> 
>  >which exact minor version please?
> 
> 
> PostgreSQL 9.6.10 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 
> 20120313 (Red Hat 4.4.7-23), 64-bit
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (35+ messages)  latest in thread

Message-ID: <10885f27-4b59-6e93-38f7-a03c0b96e906@aklaver.com>
Permalink:  ../10885f27-4b59-6e93-38f7-a03c0b96e906@aklaver.com/
Also on:    postgresql.org/message-id/10885f27-4b59-6e93-38f7-a03c0b96e906@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, ssappeals@gmail.com, laurenz.albe@cybertec.at, andreas@a-kretschmer.de
  Subject: Re: Trouble Upgrading Postgres
  In-Reply-To: <10885f27-4b59-6e93-38f7-a03c0b96e906@aklaver.com>
  References: <CAFw6=U2oz9rTF0qa0LFMg91bu=hdisfu2-xXU1==D7yBif+2uw@mail.gmail.com> <529c7e29-38eb-0b22-379a-f78e638b97bd@aklaver.com> <CAFw6=U09NDUULsrtchBBLxA0z-nCqteUEhB_KODbKk9cymqeJg@mail.gmail.com> <cafc1eb5-b54c-cb31-b085-5b7ff243e273@aklaver.com> <CAFw6=U1S3-HzC2Bf+X7aZtFU4DKjZAWbztkscTnw6_TzNkueZg@mail.gmail.com> <18968e03-6342-a01e-3423-04642e15390b@aklaver.com> <CAFw6=U04tmKYe-78uUchSpjPeXnWd+vhOt_PozwJpRf2Fwc6QA@mail.gmail.com> <10885f27-4b59-6e93-38f7-a03c0b96e906@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