First of all check if postgres cannot archive or delete old WAL files. For immediate space, move older files from pg_Wal to another storage but don't delete them. Restart postgres in recovery mode and if archiving is not working then try disabling it temporarily to let PostgreSQL automatically clear older WAL files archive_mode = off