Another possibility is orphaned files.
See 
https://www.dbi-services.com/blog/can-there-be-orphaned-data-files-in-postgresql/
and https://github.com/bdrouvot/pg_orphaned
--
Sergey

On Wed, 9 Oct 2024 at 19:02, Greg Sabino Mullane <htamf...@gmail.com> wrote:
>
> On Wed, Oct 9, 2024 at 4:10 AM Mikael Petterson <mikaelpetter...@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
>


-- 
Sergey


Reply via email to