﻿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
12484	Document that cmemcache is definetly not thread safe	anonymous	nobody	"Using the  cmemcache in threaded environment will eventually lead to cache failure.


{{{
[FATAL@1262456081.210803] mcm_get_line():1547: memcache(4) protocol error: no \r before \n
[FATAL@1262456081.282046] mcm_get_line():1547: memcache(4) protocol error: no \r before \n
[FATAL@1262456081.282084] mcm_fetch_cmd():1159: memcache(4) protocol error: protocol, expected a response
[FATAL@1262456081.761118] mcm_get_line():1547: memcache(4) protocol error: no \r before \n
}}}


Steps to reproduce: 

1. /usr/sbin/ab -n 100 -c 2 http://example.com/my_cached_page

Maybe the solution is to use threading.local to store cmemcache objects.

"		closed	Documentation	1.1		wontfix	cmemcache		Accepted	0	0	0	0	0	0
