Postgres - Tuning necessary?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
CGraham
Posts: 115
Joined: Tue Aug 16, 2011 2:43 pm

Postgres - Tuning necessary?

Post by CGraham »

I'm using the Nagios VM appliance and i'm getting alerts about the total processes on the Nagios box.

A quick run of ps aux and uniq -c says that postgres is running the most processes (31). Can someone explain what postgres is for? Is there some recommended tuning in "/var/lib/pgsql/data/postgresql.conf" that will help with performance or effect the total number of processes?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Postgres - Tuning necessary?

Post by lmiltchev »

The postgres database is used for XI interface specific data (dashlets, users, etc.). If there is a problem with it, you wouldn't be able to access the interface. Having so many postgres processes running is not unusual. You can try "tuning" it but I would suggest doing it in the test environment first. Make a backup of the "/var/lib/pgsql/data/postgresql.conf", so you can revert back to it if necessary.
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked