Score:0

OpenStack: Too many Database idle Connections

us flag

I use PostgreSQL as a DB backend for all OpenStack Services on 3 Controllers. When all 3 controllers are started with no load, the number of connections are up to 700. And all of this conns are in idle mode.

Here are the Database parameters in Openstack service conf files:

max_overflow = 50
max_pool_size = 5
pool_timeout = 30
connection_recycle_time = 600

I have changed this parameter to smaller values, but it has not improved anything.

Any ideas why the number of connections are too high?

cn flag
Is the number of connections actually a problem if they're all idle?
Bazooka avatar
us flag
Kindof, they do use up a bit of RAM
cn flag
Are you short on RAM?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.