Ok guys, I've moved to a new company and I see they have a single postgresql database here to run opennms.
I'm a mysql person, not familiar AT ALL with postgresql, but I've at least learned how to run psql and postgres -D to get in single user mode.
Anyway, opeenms crashed. I got in and tracked it down to postgresql giving this error: WARNING: database "template1" must be vacuumed within 965550 transactions HINT: To avoid a database shutdown, execute a full-database VACUUM in "template1".
It actually started at 1 million and I'm down to 965500 as you can see. I've gotten to this point by logging in single user (postgres -D) and running Vacuum full. Now I expected this to clean it up, but the results are exactly 55 rows of:
WARNING: database "template1" must be vacuumed within 938861 transactions
HINT: To avid a database shutdown, execute a full-database VACUUM in "template1".
WARNING: database "template1" must be vacuumed within 938860 transactions
HINT: To avoid a database shutdown, execute a full-database VACUUM in "template1".
WARNING: database "template1" must be vacuumed within 938861 transactions
HINT: To avoid a database shutdown, execute a full-database VACUUM in "template1".
WARNING: database "template1" must be vacuumed within 938860 transactions
HINT: To avoid a database shutdown, execute a full-database VACUUM in "template1".
So the question I have is, do I just need to keep running this until I reach 0 or am I doing it wrong?