NLX Directory log rotation of PostgreSQL is broken
Log rotation does not seem to work. This causes the volume to run out of disk space and eventually the Directory API becomes unavailable.
PostgreSQL pod on pre-prod:
cd /home/postgres/pgdata/pgroot/pg_log
ls -lah
Output
...
-rw-r--r-- 1 postgres postgres 23M Feb 3 00:00 postgresql-Friday.csv
...
File is +23M and the first log is from 2023-10-27 21:05:27.216 UTC
, shortly after we've introduced the log rotation.
Edited by Niels