DbManager Connection pool
Posted: 15 Sep 2010, 12:20
Hey, There are few things i need to ask about the dbManger,
I have noticed on the MySql client with the command:
SHOW FULL PROCESSLIST
That we have more open connections to the db than expected,
after a few tests, i have noticed that when i start the server, i would start with lets say 3 open connections to the database, after i connect some npcs to the server the connections grow to be 6. and after some time they may grow a bit more.
i assumed that the dbManager opens new connection on certain situations, i was wondering when exactly?
2nd thing i have noticed , that the open connections never closes, many connections just stay idle for long time after they've been opened...
is that normal? did i miss anything?
thank you
I have noticed on the MySql client with the command:
SHOW FULL PROCESSLIST
That we have more open connections to the db than expected,
after a few tests, i have noticed that when i start the server, i would start with lets say 3 open connections to the database, after i connect some npcs to the server the connections grow to be 6. and after some time they may grow a bit more.
i assumed that the dbManager opens new connection on certain situations, i was wondering when exactly?
2nd thing i have noticed , that the open connections never closes, many connections just stay idle for long time after they've been opened...
is that normal? did i miss anything?
thank you