expanding tree is timing out on graphite

Asked by mike

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?

Question information

Language:
English Edit question
Status:
Expired
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

  • by mike
Revision history for this message
mike (gsaray101) said :
#1

I get this error message from the browser:

Unable to save data of type <type 'dict'> to cache

but if the tree branch does not have a lot of nodes, I dont get this error. Only if the branch has a lot of nodes, >100. Any ideas?

Revision history for this message
mike (gsaray101) said :
#2

I get this error message from the browser:

Unable to save data of type <type 'dict'> to cache

but if the tree branch does not have a lot of nodes, I dont get this error. Only if the branch has a lot of nodes, >100. Any ideas?

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.