summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-novaclient_git.bb
diff options
context:
space:
mode:
authorAmy Fong <amy.fong@windriver.com>2014-03-28 15:58:45 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-03-31 13:14:49 -0400
commit02f129b1bb1fc17f17b2fbca43bd997aa8b28d09 (patch)
treea125ec774f2054684ddd364aeb6caceb8c1bf637 /meta-openstack/recipes-devtools/python/python-novaclient_git.bb
parent984c2d69f51824a4c1e7b3a448fe24759e594026 (diff)
downloadmeta-cloud-services-02f129b1bb1fc17f17b2fbca43bd997aa8b28d09.tar.gz
Memory leak from timings
Memory leak happens when the dynamic list times grows without anything to reset it. In ceilometer and cinder configuration files, the new option is created: [nova_client] max_timing_buffer=<value> In all clients found that uses extends the HTTPClient and uses the times list, we limit the size of the list by popping off the oldest item in the list to maintain a maximum size. A default size of 200 is chosen, configurable by the above configuration option. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-novaclient_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-novaclient_git.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-novaclient_git.bb b/meta-openstack/recipes-devtools/python/python-novaclient_git.bb
index 2884e0f..7ac9b34 100644
--- a/meta-openstack/recipes-devtools/python/python-novaclient_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-novaclient_git.bb
@@ -7,7 +7,10 @@ DEPENDS = "python-setuptools-git"
7 7
8PR = "r0" 8PR = "r0"
9 9
10SRC_URI = "git://github.com/openstack/python-novaclient.git;branch=master" 10SRC_URI = "\
11 git://github.com/openstack/python-novaclient.git;branch=master \
12 file://fix_novaclient_memory_leak.patch \
13 "
11 14
12PV="2.16.0+git${SRCPV}" 15PV="2.16.0+git${SRCPV}"
13SRCREV="64043442bbafa48f9042b669d30292b1db00db4f" 16SRCREV="64043442bbafa48f9042b669d30292b1db00db4f"