﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
15324	memcached cache backend creating new connection for every action	J. David Lowe	nobody	"r15005 introduced a problem for MemcachedCache caches: ''every'' call to ''any'' cache method which accesses the cache (add, get, set, delete, get_many, incr, decr, set_many, delete_many, clear and even close!) opens a brand-new connection to memcached via the {{{self._lib.Client(...)}}} call now hidden in {{{self._cache}}}. I think this is a major problem for busy sites who are aggressively caching: our site was brought down when we upgraded to 1.3_beta_1, as it very quickly exceeded the memcached concurrency limit.

I've attached a patch including a minimal test case.

I ran the tests against django trunk r15560, with python_memcached-1.44-py2.6.egg and python 2.6.5."		closed	Core (Cache system)	1.3-beta		fixed	blocker regression		Ready for checkin	1	0	0	0	0	0
