Revision history  [back]

is it locmem related issue or djcelery issue?

Currently I am seeing delays in my site. For an example the points don't get updated right away. In addition sometimes main page says there are two answers and when you go to the question you only see one answer. I have a feeling this is due to locmem cahce because I still get the warning about locmemcached. Also can this be due to some application layer issue where it doesn't invalidate the cache and do a database call.

[Thu Mar 14 18:35:03 2013] [error] WARNING!!! You are using a 'locmem' (local memory) caching backend,
[Thu Mar 14 18:35:03 2013] [error] which is OK for a low volume site running on a single-process server.
[Thu Mar 14 18:35:03 2013] [error] For a multi-process configuration it is neccessary to have a production
[Thu Mar 14 18:35:03 2013] [error] cache system, such as redis or memcached.

This is my current djcelery settings:

#Celery Settings
BROKER_TRANSPORT = "djkombu.transport.DatabaseTransport"
CELERY_ALWAYS_EAGER = True

import djcelery
djcelery.setup_loader()
DOMAIN_NAME = ''

Also I am using celery 2.2.7 with askbot 0.7.48

is it turn off locmem related issue or djcelery issue?and turn on memcahced

Currently I am seeing delays in my site. For an example the points don't get updated right away. In addition sometimes main page says there are two answers and when you go to the question you only see one answer. I have a feeling this is due to locmem cahce because I still get the warning about locmemcached. Also can this be due to some application layer issue where it doesn't invalidate the cache and do a database call.

[Thu Mar 14 18:35:03 2013] [error] WARNING!!! You are using a 'locmem' (local memory) caching backend,
[Thu Mar 14 18:35:03 2013] [error] which is OK for a low volume site running on a single-process server.
[Thu Mar 14 18:35:03 2013] [error] For a multi-process configuration it is neccessary to have a production
[Thu Mar 14 18:35:03 2013] [error] cache system, such as redis or memcached.

This is my current djcelery settings:

#Celery Settings
BROKER_TRANSPORT = "djkombu.transport.DatabaseTransport"
CELERY_ALWAYS_EAGER = True

import djcelery
djcelery.setup_loader()
DOMAIN_NAME = ''

Also I am using celery 2.2.7 with askbot 0.7.48

turn off locmem locmemcache and turn on memcahced

Currently I am seeing delays in my site. For an example the points don't get updated right away. In addition sometimes main page says there are two answers and when you go to the question you only see one answer. I have a feeling this is due to locmem cahce because I still get the warning about locmemcached. Also I was wondering how I can this be due move from locmemcached to some application layer issue where it doesn't invalidate the cache and do a database call.memcached.

[Thu Mar 14 18:35:03 2013] [error] WARNING!!! You are using a 'locmem' (local memory) caching backend,
[Thu Mar 14 18:35:03 2013] [error] which is OK for a low volume site running on a single-process server.
[Thu Mar 14 18:35:03 2013] [error] For a multi-process configuration it is neccessary to have a production
[Thu Mar 14 18:35:03 2013] [error] cache system, such as redis or memcached.