pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Arnaud L. <arnaud.listes@codata.eu>
To: Luca Ferrari <fluca1978@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: psql \copy hanging
Date: Tue, 27 Aug 2019 13:17:17 +0200
Message-ID: <574a09e0-cf01-4664-c61c-c2d0ae9300f9@codata.eu> (raw)
In-Reply-To: <CAKoxK+7hnFS6N0t57nsSBKGrKO5PjKZ5mRrvuxZ4yz4n0Pv-jg@mail.gmail.com>
References: <d5df5507-7491-5877-5412-c9325d0ec49c@codata.eu>
	<6947a518-82dd-fc26-57b3-6da5e8b89445@codata.eu>
	<CAKoxK+5qWTmmEeGFU8nG3JxGuUKSMUnFtUFkEcjCCYLCWSqaew@mail.gmail.com>
	<4f450814-5697-06b1-651b-540cac0a10b0@codata.eu>
	<CAKoxK+4TWweuGqjpRtcQc3r==3N9mTb=qW0+qPi8YAAev6hhHw@mail.gmail.com>
	<b73603c5-de86-97c3-03fa-15e0499452e4@codata.eu>
	<CAKoxK+7hnFS6N0t57nsSBKGrKO5PjKZ5mRrvuxZ4yz4n0Pv-jg@mail.gmail.com>

Le 27/08/2019 à 13:13, Luca Ferrari a écrit :
> My personal experience with shares and network that are not so much
> stable is that they can block, and that is why I'm suggesting to try
> on the local filesystem to see if that is a share-related problem or a
> resource problem. Also scheduling the script at a different time could
> help, because it could be at that time the machine (and it could mean
> the sharing machine) is busy at the point it does not respond.

I'm quite confident that changing the schedule would help (since the 
script runs fine during work hours), but the time-table is already quite 
busy.
I move the offending line at the end of the script, so it will run some 
minutes later, maybe this will be enough.
I'll also try to write it directly on a local folder to rule this out.

Cheers
--
Arnaud





view thread (40+ messages)  latest in thread

Message-ID: <574a09e0-cf01-4664-c61c-c2d0ae9300f9@codata.eu>
Permalink:  ../574a09e0-cf01-4664-c61c-c2d0ae9300f9@codata.eu/
Also on:    postgresql.org/message-id/574a09e0-cf01-4664-c61c-c2d0ae9300f9@codata.eu

 · 

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: arnaud.listes@codata.eu, fluca1978@gmail.com
  Subject: Re: psql \copy hanging
  In-Reply-To: <574a09e0-cf01-4664-c61c-c2d0ae9300f9@codata.eu>
  References: <d5df5507-7491-5877-5412-c9325d0ec49c@codata.eu> <6947a518-82dd-fc26-57b3-6da5e8b89445@codata.eu> <CAKoxK+5qWTmmEeGFU8nG3JxGuUKSMUnFtUFkEcjCCYLCWSqaew@mail.gmail.com> <4f450814-5697-06b1-651b-540cac0a10b0@codata.eu> <CAKoxK+4TWweuGqjpRtcQc3r==3N9mTb=qW0+qPi8YAAev6hhHw@mail.gmail.com> <b73603c5-de86-97c3-03fa-15e0499452e4@codata.eu> <CAKoxK+7hnFS6N0t57nsSBKGrKO5PjKZ5mRrvuxZ4yz4n0Pv-jg@mail.gmail.com> <574a09e0-cf01-4664-c61c-c2d0ae9300f9@codata.eu>

* 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