pg_xlog entries consuming large amount of disk space
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PostgreSQL Charm |
Triaged
|
High
|
Unassigned | ||
postgresql (Juju Charms Collection) |
Triaged
|
High
|
Unassigned |
Bug Description
I have a deployment with two postgresql units attached to a 5GB nova volume deployed with lp:charms/trusty/postgresql;revno=141. The volume filled up with pg_xlog files after running for about 6 days with very little database activity.
The only non-default options are:
I realize that the remaining default options lead to 'wal_keep_segments = 5000' which would consume 80GB of WAL files. However, it looks like something else may be happening and these files are remaining for longer then they should be? The issue here is that the disk filled up with nearly the default options. If there is a recommended disk size for the default settings, is it documented in the charm?
I'll attach the postgresql.conf files from each instance and the pg_xlog directory listings.
Attaching tgz with postgresql.conf and directory listings.