Revision history [back]
Your memcached.sock file is very likely not in that location. You can see where it is with this command:
netstat -an | grep memcached.sock
If you don't see any results then your memcached server is either not running, or its listening on a TCP port. Check if it's listening on TCP with:
netstat -an | grep 11211
If you see a result there then you'll need to change your settings to:
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '127.0.0.1:11211',
'TIMEOUT': 18000,
'KEY_PREFIX': 'askbot',
}
}
CACHE_TIMEOUT = 18000
CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True