← Back to team overview

graphite-dev team mailing list archive

[Question #268427]: expanding tree is timing out on graphite

 

New question #268427 on Graphite:
https://answers.launchpad.net/graphite/+question/268427

I tried to configure memcached with graphite-web to improve the performance. 

I installed memcached in the local server, and started it. I also installed python-memcached client library.

I modified my local_settings.py  like this:

CACHES = {
'default': {

  BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
   LOCATION': 'localhost:11211',
}
}

MEMCACHE_HOSTS = ['localhost:11211']
FIND_CACHE_DURATION = 1500
FIND_TOLERANCE = 2 * FIND_CACHE_DURATION
DEFAULT_CACHE_DURATION = 1800

Now, when I try to expand one of the branches that have many nodes is timing out.  I get internal server error. Before I configured this, it would take a little time but it would load. How would I configure this so that expanding of the branch does not time out and completes.

Any ideas?

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