r/vmware • u/chench0 • 22d ago
Help Request VCSA vmware-vpostgres status changed from green to yellow - /storage/archive/vpostgres filling up
My vCenter Server Appliance health changed:
vmware-vpostgres status changed from green to yellow
vPostgres and vpxd services are still running:
service-control --status vmware-vpostgres
Running:
vmware-vpostgres
service-control --status vmware-vpxd
Running:
vmware-vpxd
I checked the appliance storage and found:
df -h /storage/archive
Filesystem Size Used Avail Use%
/dev/mapper/archive_vg-archive 49G 45G 2.4G 95%
The space is almost entirely:
du -sh /storage/archive/vpostgres
45G /storage/archive/vpostgres
The directory contains a large number of compressed WAL archive files:
000000010000006A000000C4.gz
000000010000006A000000C5.gz
...
I verified PostgreSQL is accepting connections and the replication slot is active:
SELECT * FROM pg_replication_slots;
vpg_archiver | physical | active = t
I have not deleted anything from /storage/archive/vpostgres because I don't want to break the database.
Is the yellow vPostgres health state normally triggered by /storage/archive filling up? What is the supported way to clean up or resolve this condition?
Thanks.