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 1iISQy-0008WP-B9 for pgsql-general@arkaria.postgresql.org; Thu, 10 Oct 2019 07:00:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iISQx-0008FO-3Y for pgsql-general@arkaria.postgresql.org; Thu, 10 Oct 2019 07:00:23 +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 1iISQw-0008FB-Pf for pgsql-general@lists.postgresql.org; Thu, 10 Oct 2019 07:00:22 +0000 Received: from serveurmail01.codata.be ([82.146.123.190]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iISQu-0005Az-UL for pgsql-general@lists.postgresql.org; Thu, 10 Oct 2019 07:00:22 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by serveurmail01.codata.be (Postfix) with ESMTP id 5FF6C900CE for ; Thu, 10 Oct 2019 09:00:19 +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 3IGCTDgstpXE for ; Thu, 10 Oct 2019 09:00:18 +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 91FF1900CC for ; Thu, 10 Oct 2019 09:00:18 +0200 (CEST) Subject: Re: psql \copy hanging To: pgsql-general@lists.postgresql.org References: <44184578-d378-469a-badc-5aec7e6c540f@manitou-mail.org> Reply-To: arnaud.listes@codata.eu From: "Arnaud L." Message-ID: <189a66a7-5d3e-9603-a3c7-563ddef0c2f4@codata.eu> Date: Thu, 10 Oct 2019 09:00:17 +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: 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:59, Arnaud L. a écrit : > 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%. My apologies, I obviously did something wrong last time I checked this process with process-xp and procmon. Now I see that there IS activity on the problematic process ! 100% CPU and some (but not much) disk activity. I think I'll try to let it run for some time to get the auto_explain do its work. If I kill the backend now, I won't see anything I believe. I dont now it it'll ever complete this query though, it usually takes ~100 seconds, and here it has already been running for 9 hours. Regards -- Arnaud