Re: Disk is filling up with large files. How can I clean? - Mailing list pgsql-general

From Greg Sabino Mullane
Subject Re: Disk is filling up with large files. How can I clean?
Date
Msg-id CAKAnmmKUaeqPjsMdaqK6F8xk0kJ1nzkYN_tbR7i-0xiQp_dVqw@mail.gmail.com
Whole thread Raw
In response to Disk is filling up with large files. How can I clean?  (Mikael Petterson <mikaelpetterson@hotmail.com>)
Responses Re: Disk is filling up with large files. How can I clean?
List pgsql-general
On Wed, Oct 9, 2024 at 4:10 AM Mikael Petterson <mikaelpetterson@hotmail.com> wrote:
Hi,
 
I find our disk is filling up.
 
sudo find /var/lib -type f -size +100M -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
... 

Those files only add up to about 30GB. That's pretty small these days : time for a bigger disk? Or perhaps the space is elsewhere: probably want to do something like 
sudo find / -xdev -maxdepth 2 -exec du -sh {} \; | grep -E 'G|M' | sort -g

Cheers,
Greg

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Disk is filling up with large files. How can I clean?
Next
From: Sergey Fukanchik
Date:
Subject: Re: Disk is filling up with large files. How can I clean?