Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Disable persistent connections #29

Open
tomjanssens opened this issue Jan 2, 2015 · 0 comments
Open

Disable persistent connections #29

tomjanssens opened this issue Jan 2, 2015 · 0 comments
Labels
Milestone

Comments

@tomjanssens
Copy link
Contributor

The number of open connections keeps growing until the limit has been reached. For now, the wait_timeout has been decreased to make sure connections are being cleaned up automatically.

Todo:

  • Remove the ATTR_PERSISTENT setting in DatabaseAdapterMysql where the mysql connection is being made
  • Reset the server's configuration (wait_timeout + max_connections back to default)
  • Follow-up. If the situation has improved, apply the same change to Nooku Platform.

See: http:https://www.percona.com/blog/2006/11/12/are-php-persistent-connections-evil/
Also see: https://groups.google.com/forum/#!topic/comp.databases.mysql/SuaL7-G0iOc

@tomjanssens tomjanssens modified the milestone: Current Jan 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant