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 1gsrPz-0000sA-Oc for pgsql-general@arkaria.postgresql.org; Sun, 10 Feb 2019 15:53:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gsrPy-00052a-5X for pgsql-general@arkaria.postgresql.org; Sun, 10 Feb 2019 15:53:18 +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 1gsrPx-00052T-QG for pgsql-general@lists.postgresql.org; Sun, 10 Feb 2019 15:53:17 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gsrPq-0006mo-GC for pgsql-general@postgresql.org; Sun, 10 Feb 2019 15:53:16 +0000 Received: from [192.168.127.1] (port=41358 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1gsrPk-000FAi-Mw; Sun, 10 Feb 2019 15:53:04 +0000 Received: from [127.0.0.1] (port=30522 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1gsrPj-0002EK-Sz; Sun, 10 Feb 2019 15:53:04 +0000 From: Andrew Gierth To: Tom Lane Cc: Hannes Erven , pgsql-general Subject: Re: Unused files in the database directory after crashed VACUUM FULL In-Reply-To: <17143.1549813268@sss.pgh.pa.us> (Tom Lane's message of "Sun, 10 Feb 2019 10:41:08 -0500") Message-ID: <87ftsvr6e7.fsf@news-spur.riddles.org.uk> References: <17143.1549813268@sss.pgh.pa.us> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Sun, 10 Feb 2019 15:53:03 +0000 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "Tom" == Tom Lane writes: > Hannes Erven writes: >> I've just had a "VACUUM FULL " crash due to 100% disk usage. >> Clearly my fault, I was expecting the new table to be small enough. Tom> What do you mean by "crash" exactly? A normal transactional Tom> failure should've cleaned up orphaned files. I suppose if the Tom> kernel decided to kill -9 the vacuum process, that wouldn't happen Tom> --- but that's not the usual response to out-of-disk-space. The failure mode of this kind we see reported most often is getting a PANIC failure from inability to extend the WAL. -- Andrew (irc:RhodiumToad)