Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syYYO-000lSa-Lm for pgsql-general@arkaria.postgresql.org; Wed, 09 Oct 2024 15:24:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1syYYN-002aIq-SA for pgsql-general@arkaria.postgresql.org; Wed, 09 Oct 2024 15:24:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syYYN-002aIa-Gx for pgsql-general@lists.postgresql.org; Wed, 09 Oct 2024 15:24:43 +0000 Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syYYL-0003Sw-8y for pgsql-general@lists.postgresql.org; Wed, 09 Oct 2024 15:24:42 +0000 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id 4BDAB2540085; Wed, 9 Oct 2024 11:24:40 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Wed, 09 Oct 2024 11:24:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1728487480; x=1728573880; bh=Z2dpFbSeAqIeyjncojgn7wvvH2b8R8nwbp2KqKER2zk=; b= tZ8512HYdHesxIKmgbEtS/rn0XNphTth+mOGwkzs9BHXVURLD7u7pSesVEQib8Cp yQjOYQKleZHDiTaC85RoSKH3xM/rOePI25Hqifxzwwi9CpG2t5uqyPv8R5NZDnB2 ImUjWMkV7/XEURQrq/RQ0nEEFWC7n8nh2n2U+mXLRudDrkysX2ct2yBrWEs90s69 pITwK7hN9eRjg4OE3hzIFRqMDlztRwW0o5RCPNNuaaoEf2gYjd8YsLOpHprqpV+G HXyH8Ei8Wtc9Yi0WvfZymx+pbIyyd4SXxPAQgVBWXPg2ZeCZZAF0reoQUCi++QDH kPFxj3Q0S6TNvB5XMzblOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1728487480; x= 1728573880; bh=Z2dpFbSeAqIeyjncojgn7wvvH2b8R8nwbp2KqKER2zk=; b=n LjFsAte/iXbtRI6wq+zReGuQsqrE1tyViY32n3OG+heGQxKYDaxbOkMmsokWSiqc X/xqtbBxL+fqi0klSRPkR6SlDXtNdffRg/i6U6Rpl3UC0nmPZGIGKazgD70ZQsAe 6YydFMsqpYsolt1Kf9eArPZnlR5xoPTdL89gjz5VHd0c+M29fjqrhbB8lggmPCdq sliNruiYWU7nAUpSx7U58OPbBC0iPkUkdTTHJ46dA8XUBDcl2jjj4GQPFjN8SYU8 cSmoQqPLMlIAlTvKFMmEmT+ckiR/lWtDxhw/KWSSFrwDIwC/j7nHlncxqQ3Kg76W liTjYkEzQSeY4iYW+ZSjQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeffedgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeen ucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrse grkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeekgfehhfeghfevteeufedv leeludeghedvudevleelgfetleevtdegleduhfekvdenucffohhmrghinhepphhoshhtgh hrvghsqhhlrdhorhhgpdgthigsvghrthgvtgdqphhoshhtghhrvghsqhhlrdgtohhmnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirg hnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepvddpmhho uggvpehsmhhtphhouhhtpdhrtghpthhtohepmhhikhgrvghlphgvthhtvghrshhonheshh hothhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehlihhs thhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 9 Oct 2024 11:24:39 -0400 (EDT) Message-ID: <67caa2a7-38a7-4d2f-8902-79cb664cad67@aklaver.com> Date: Wed, 9 Oct 2024 08:24:38 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Disk is filling up with large files. How can I clean? To: Mikael Petterson , "pgsql-general@lists.postgresql.org" References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/8/24 04:06, Mikael Petterson wrote: > Hi, > I find our disk is filling up. Query the pg_stat_activity view: https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-PG-STAT-ACTIVITY-VIEW and look for rows that have with state showing 'idle in transaction'. Report back what you find. You should also check out this post: https://www.cybertec-postgresql.com/en/reasons-why-vacuum-wont-remove-dead-rows/ > What can I do to clean up. We are using pgsql 12. > Br, > //Mikael > > -- Adrian Klaver adrian.klaver@aklaver.com