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 15655,(pylibmc) cache.set() hangs,fahhem,nobody,"My setup is a localhost memcached server on the default port: {{{ CACHES = { 'default': { 'BACKEND':'django.core.cache.backends.memcached.PyLibMCCache', 'LOCATION':'127.0.0.1:11211', } } }}} When the backend changes to MemcachedCache, the problem goes away so this is definitely pylibmc. I did this exact setup on two different projects and two separate machines over the span of the last two weeks and I ran into this same problem both times: When using cache.set(key,value,timeout), some keys will hang the thread/process when served through Apache (v2.2.16-1ubuntu3.1). When using ./manage.py runserver or runserver_plus, cache.set() works and when I switch from runserver to apache it works fine because cache.get() gets the value and no cache.set() is called. When the timeout passes, apache again hangs at the same cache.set(). I used a ton of logging.error() calls to find where apache hangs. This machine is Ubuntu but the first machine with the problem was a Debian machine, both are running mostly stable, with a few non-critical packages from testing. Both run python2.6 and django 1.3, the first machine was 1.3-beta-1, this one had the problem in both beta and rc. ",,closed,Core (Cache system),1.3-rc,,invalid,pylibmc,,Unreviewed,0,0,0,0,0,0