← Back to team overview

graphite-dev team mailing list archive

Re: [Question #265529]: how do you use memcachd in graphite webapp

 

Question #265529 on Graphite changed:
https://answers.launchpad.net/graphite/+question/265529

mike gave more information on the question:
I did install python-memcached and my local_settings.py looks like this:

SECRET_KEY = 'pass123'
TIME_ZONE = 'America/New_York'

DEBUG = True
MEMCACHE_HOSTS = []
DATABASES = {
    'default': {
        'NAME': '/opt/graphite/storage/graphite.db',
        'ENGINE': 'django.db.backends.sqlite3',
        'USER': '',
        'PASSWORD': '',
        'HOST': '',
        'PORT': ''
    }
}
#
STORAGE_FINDERS = (
    'graphite_opentsdb.finder.OpenTSDBFinder',
)

OPENTSDB_URI = 'http://192.168.101.17:4242/api/v1/'
OPENTSDB_TREE = 1

CACHES = {
    'default': {
       'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
       'LOCATION': '192.168.101.12:11211',
    }
}

MIDDLEWARE_CLASSES = (
    'django.middleware.cache.UpdateCacheMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.middleware.cache.FetchFromCacheMiddleware',
)


REMOTE_RETRY_DELAY = 60.0 

I still dont see any activity in my memecached server, any ideas?

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.