Andrew Bogott has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/376057 )
Change subject: nova-conductor: limit number of workers ...................................................................... nova-conductor: limit number of workers Jaime writes "Is there something that could be done to reduce the amount of connections per service? every one precreates 40 or so, and among them they have constantly 400 open connections, in most cases always sleeping." There are 12 CPUs on labcontrol1001, so this should reduce our workers (and, hence, active connections) by a third. Bug: T175002 Change-Id: I5f359a42c10dbdc5d1d9af6b27523aa9ae047a31 --- M modules/openstack/templates/liberty/nova/nova.conf.erb 1 file changed, 7 insertions(+), 0 deletions(-) Approvals: Andrew Bogott: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/openstack/templates/liberty/nova/nova.conf.erb b/modules/openstack/templates/liberty/nova/nova.conf.erb index c6ad7ed..89f8fb5 100644 --- a/modules/openstack/templates/liberty/nova/nova.conf.erb +++ b/modules/openstack/templates/liberty/nova/nova.conf.erb @@ -190,3 +190,10 @@ # Keymap for spice (string value) keymap=en-us + +[conductor] +# The default worker count is == the number of CPUs. This +# results in a whole lot of idle connections staying open on +# the mysql backend. Until we see actual performance +# issues, let's keep a lid on it. +workers = 8 -- To view, visit https://gerrit.wikimedia.org/r/376057 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I5f359a42c10dbdc5d1d9af6b27523aa9ae047a31 Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Andrew Bogott <[email protected]> Gerrit-Reviewer: Alex Monk <[email protected]> Gerrit-Reviewer: Andrew Bogott <[email protected]> Gerrit-Reviewer: Jcrespo <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
