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 1iHqyC-0007gF-0D for pgsql-general@arkaria.postgresql.org; Tue, 08 Oct 2019 15:00:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iHqy8-0004ES-EW for pgsql-general@arkaria.postgresql.org; Tue, 08 Oct 2019 15:00:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iHqy7-0004EJ-Pk for pgsql-general@lists.postgresql.org; Tue, 08 Oct 2019 15:00:07 +0000 Received: from serveurmail01.codata.be ([82.146.123.190]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1iHqy2-0001aY-Bz for pgsql-general@postgresql.org; Tue, 08 Oct 2019 15:00:06 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by serveurmail01.codata.be (Postfix) with ESMTP id ED9F9900CC; Tue, 8 Oct 2019 16:59:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at serveurmail01.codata.be Received: from serveurmail01.codata.be ([127.0.0.1]) by localhost (serveurmail01.codata.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tj1Y2Pb-Eahx; Tue, 8 Oct 2019 16:59:57 +0200 (CEST) Received: from [10.0.0.100] (38-179-112-217.fix.adsl.belcenter.be [217.112.179.38]) by serveurmail01.codata.be (Postfix) with ESMTPSA id 46684900C9; Tue, 8 Oct 2019 16:59:57 +0200 (CEST) Reply-To: arnaud.listes@codata.eu Subject: Re: psql \copy hanging To: Daniel Verite , Adrian Klaver , pgsql-general References: <44184578-d378-469a-badc-5aec7e6c540f@manitou-mail.org> From: "Arnaud L." Message-ID: Date: Tue, 8 Oct 2019 16:59:55 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <44184578-d378-469a-badc-5aec7e6c540f@manitou-mail.org> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Le 08/10/2019 à 16:55, Daniel Verite a écrit : > Arnaud L. wrote: > >> Anyway, it hung using this syntax during last night's run. >> I'll give it another try tonight just to be sure. > > When psql.exe is hanging, maybe you could use a tool like > Process Monitor [1] or Process Explorer [2] to get insights about > what it's stuck on or what it's doing exactly. > > [1] https://docs.microsoft.com/en-us/sysinternals/downloads/procmon > [2] https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer Yes, I already did that, and unfortunately there's no activy. There is absolutely no activity in procmon using psql.exe as a filter. process-xp is not giving more information, processor usage is 0%. Regards -- Arnaud